public class TypeInjector extends AbstractInjector
AbstractInjector.RegisterCache
Modifier and Type | Field and Description |
---|---|
protected String |
instanceVarName |
protected MetaClass |
type |
_registerCache, alternative, attributes, basic, beanName, creationalCallbackVarName, enabled, enclosingType, postInitCallbackVar, preDestroyCallbackVar, provider, qualifyingMetadata, qualifyingTypeInformation, replaceable, singleton, softDisabled, testMock
Constructor and Description |
---|
TypeInjector(MetaClass type,
InjectionContext context) |
Modifier and Type | Method and Description |
---|---|
Statement |
getBeanInstance(InjectableInstance injectableInstance)
Return a statement providing access to the injector (or null for asynchronous logic)
|
String |
getCreationalCallbackVarName()
The unique variable name for a BeanProvider associated with this bean.
|
MetaClass |
getInjectedType()
The injected type of the injector.
|
String |
getInstanceVarName()
The unique variable name for the bean instance.
|
boolean |
isPseudo()
Checks if the injector is a psuedo bean.
|
boolean |
isRegularTypeInjector()
Returns true if the injector type is a regular type injector.
|
void |
renderProvider(InjectableInstance injectableInstance) |
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, matches, registerWithBeanManager, setAttribute, setCreated, setCreationalCallbackVarName, setEnabled, setPostInitCallbackVar, setPreDestroyCallbackVar, setRendered, setReplaceable, setSoftDisabled, toString, updateProxies
public TypeInjector(MetaClass type, InjectionContext context)
public void renderProvider(InjectableInstance injectableInstance)
public Statement getBeanInstance(InjectableInstance injectableInstance)
Injector
public boolean isPseudo()
Injector
isPseudo
in interface Injector
isPseudo
in class AbstractInjector
public String getInstanceVarName()
Injector
getInstanceVarName
in interface Injector
getInstanceVarName
in class AbstractInjector
public MetaClass getInjectedType()
Injector
public String getCreationalCallbackVarName()
Injector
getCreationalCallbackVarName
in interface Injector
getCreationalCallbackVarName
in class AbstractInjector
public boolean isRegularTypeInjector()
Injector
isRegularTypeInjector
in interface Injector
isRegularTypeInjector
in class AbstractInjector
Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.