org.jboss.errai.ioc.rebind.ioc.injector.async
Class AsyncProducerInjector
java.lang.Object
org.jboss.errai.ioc.rebind.ioc.injector.AbstractInjector
org.jboss.errai.ioc.rebind.ioc.injector.async.AbstractAsyncInjector
org.jboss.errai.ioc.rebind.ioc.injector.async.AsyncProducerInjector
- All Implemented Interfaces:
- Injector
public class AsyncProducerInjector
- extends AbstractAsyncInjector
- Author:
- Mike Brock
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 |
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, getCreationalCallbackVarName, getDisablingCallbacks, getEnclosingType, getInstanceVarName, getMetadataWithAny, getPostInitCallbackVar, getPreDestroyCallbackVar, getProxyInstanceVarName, getProxyPropertyMap, getQualifyingMetadata, getQualifyingTypeInformation, getRegistrationHooks, getRenderingHooks, getWeavingStatements, getWeavingStatementsMap, hasAttribute, hasNewQualifier, isAlternative, isCreated, isDependent, isEnabled, isProvider, isProxied, isPseudo, isRegularTypeInjector, isRendered, isSingleton, isSoftDisabled, isTestMock, markRendered, matches, setAttribute, setCreated, setCreationalCallbackVarName, setEnabled, setPostInitCallbackVar, setPreDestroyCallbackVar, setRendered, setReplaceable, setSoftDisabled, toString, updateProxies |
AsyncProducerInjector
public AsyncProducerInjector(MetaClass injectedType,
MetaClassMember producerMember,
InjectableInstance producerInjectableInstance)
renderProvider
public void renderProvider(InjectableInstance injectableInstance)
getBeanInstance
public Statement getBeanInstance(InjectableInstance injectableInstance)
- Description copied from interface:
Injector
- Return a statement providing access to the injector (or null for asynchronous logic)
- Returns:
doBindings
public void doBindings(BlockBuilder<?> block,
InjectionContext injectionContext,
Statement beanRef)
isStatic
public boolean isStatic()
- Description copied from interface:
Injector
- Checks is the injector is a static injector, meaning that it can safely be referenced from anywhere, without
concern for ordering of its declaring class.
- Specified by:
isStatic
in interface Injector
- Overrides:
isStatic
in class AbstractInjector
- Returns:
- true if the injector is a static injector
getProducerMember
public MetaClassMember getProducerMember()
getInjectedType
public MetaClass getInjectedType()
- Description copied from interface:
Injector
- The injected type of the injector. This is the absolute type which the injector produces. For producers, this
is the bean type which the producer method returns.
- Returns:
- the return type from the injector.
Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.