org.jboss.errai.ioc.rebind.ioc.injector.basic
Class ProxyInjector
java.lang.Object
org.jboss.errai.ioc.rebind.ioc.injector.AbstractInjector
org.jboss.errai.ioc.rebind.ioc.injector.basic.ProxyInjector
- All Implemented Interfaces:
- Injector
public class ProxyInjector
- extends AbstractInjector
- Author:
- Mike Brock, Christian Sadilek
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, getMetadataWithAny, getPostInitCallbackVar, getPreDestroyCallbackVar, getProxyInstanceVarName, getProxyPropertyMap, getQualifyingMetadata, getQualifyingTypeInformation, getRegistrationHooks, getRenderingHooks, getWeavingStatements, getWeavingStatementsMap, hasAttribute, hasNewQualifier, isAlternative, isCreated, isDependent, isEnabled, isProvider, isProxied, isPseudo, isRegularTypeInjector, isRendered, isSingleton, isSoftDisabled, isStatic, isTestMock, markRendered, matches, registerWithBeanManager, setAttribute, setCreated, setCreationalCallbackVarName, setEnabled, setPostInitCallbackVar, setPreDestroyCallbackVar, setRendered, setReplaceable, setSoftDisabled, toString, updateProxies |
ProxyInjector
public ProxyInjector(org.jboss.errai.ioc.rebind.ioc.bootstrapper.IOCProcessingContext context,
MetaClass proxiedType,
QualifyingMetadata metadata)
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:
getInstanceVarName
public String getInstanceVarName()
- Description copied from interface:
Injector
- The unique variable name for the bean instance. Usually used to reference the bean during the wiring of the
bean within the CreationalContext.getInstance() method body. This variable name is also used to provide
a name to variable which holds a reference to singleton instances.
- Specified by:
getInstanceVarName
in interface Injector
- Overrides:
getInstanceVarName
in class AbstractInjector
- Returns:
- the unique variable name for a bean in the bootstrapper and CreationalContext.getInstance() method.
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.
addProxyCloseStatement
public void addProxyCloseStatement(Statement statement)
getProxyResolverBlockBuilder
public BlockBuilder getProxyResolverBlockBuilder()
Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.