Errai 3.0.1-SNAPSHOT

org.jboss.errai.ioc.rebind.ioc.injector.async
Class AsyncContextualProviderInjector

java.lang.Object
  extended by org.jboss.errai.ioc.rebind.ioc.injector.AbstractInjector
      extended by org.jboss.errai.ioc.rebind.ioc.injector.basic.TypeInjector
          extended by org.jboss.errai.ioc.rebind.ioc.injector.async.AsyncContextualProviderInjector
All Implemented Interfaces:
Injector

public class AsyncContextualProviderInjector
extends TypeInjector

Author:
Mike Brock

Nested Class Summary
 
Nested classes/interfaces inherited from class org.jboss.errai.ioc.rebind.ioc.injector.AbstractInjector
AbstractInjector.RegisterCache
 
Field Summary
 
Fields inherited from class org.jboss.errai.ioc.rebind.ioc.injector.basic.TypeInjector
instanceVarName, type
 
Fields inherited from class org.jboss.errai.ioc.rebind.ioc.injector.AbstractInjector
_registerCache, alternative, attributes, basic, beanName, creationalCallbackVarName, enabled, enclosingType, postInitCallbackVar, preDestroyCallbackVar, provider, qualifyingMetadata, qualifyingTypeInformation, replaceable, singleton, softDisabled, testMock
 
Constructor Summary
AsyncContextualProviderInjector(MetaClass type, MetaClass providerType, InjectionContext context)
           
 
Method Summary
 Statement getBeanInstance(InjectableInstance injectableInstance)
          Return a statement providing access to the injector (or null for asynchronous logic)
 boolean matches(MetaParameterizedType parameterizedType, QualifyingMetadata qualifyingMetadata)
          Determines whether or not the the bean type this injector producers matches the specified parameterized type and qualifying metadata.
 void renderProvider(InjectableInstance injectableInstance)
           
 
Methods inherited from class org.jboss.errai.ioc.rebind.ioc.injector.basic.TypeInjector
getCreationalCallbackVarName, getInjectedType, getInstanceVarName, isPseudo, isRegularTypeInjector
 
Methods inherited from class org.jboss.errai.ioc.rebind.ioc.injector.AbstractInjector
addDisablingHook, addInvokeAfter, addInvokeAround, addInvokeBefore, addProxyProperty, addProxyProperty, addRegistrationHook, addRenderingHook, addStatementToEndOfInjector, createProxyDeclaration, createProxyDeclaration, disableSoftly, getAddToEndStatements, getAttribute, getBeanName, getConcreteInjectedType, getDisablingCallbacks, getEnclosingType, getMetadataWithAny, getPostInitCallbackVar, getPreDestroyCallbackVar, getProxyInstanceVarName, getProxyPropertyMap, getQualifyingMetadata, getQualifyingTypeInformation, getRegistrationHooks, getRenderingHooks, getWeavingStatements, getWeavingStatementsMap, hasAttribute, hasNewQualifier, isAlternative, isCreated, isDependent, isEnabled, isProvider, isProxied, isRendered, isSingleton, isSoftDisabled, isStatic, isTestMock, markRendered, registerWithBeanManager, setAttribute, setCreated, setCreationalCallbackVarName, setEnabled, setPostInitCallbackVar, setPreDestroyCallbackVar, setRendered, setReplaceable, setSoftDisabled, toString, updateProxies
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AsyncContextualProviderInjector

public AsyncContextualProviderInjector(MetaClass type,
                                       MetaClass providerType,
                                       InjectionContext context)
Method Detail

renderProvider

public void renderProvider(InjectableInstance injectableInstance)
Specified by:
renderProvider in interface Injector
Overrides:
renderProvider in class TypeInjector

getBeanInstance

public Statement getBeanInstance(InjectableInstance injectableInstance)
Description copied from interface: Injector
Return a statement providing access to the injector (or null for asynchronous logic)

Specified by:
getBeanInstance in interface Injector
Overrides:
getBeanInstance in class TypeInjector
Returns:

matches

public boolean matches(MetaParameterizedType parameterizedType,
                       QualifyingMetadata qualifyingMetadata)
Description copied from interface: Injector
Determines whether or not the the bean type this injector producers matches the specified parameterized type and qualifying metadata.

Specified by:
matches in interface Injector
Overrides:
matches in class AbstractInjector
Parameters:
parameterizedType - the parameterized type to compare against.
qualifyingMetadata - the qualifying metadata to compare against
Returns:
true if matches.

Errai 3.0.1-SNAPSHOT

Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.