|
Errai 3.0.1-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.errai.ioc.rebind.ioc.injector.AbstractInjector
org.jboss.errai.ioc.rebind.ioc.injector.basic.TypeInjector
public class TypeInjector
This injector implementation is responsible for the lion's share of the container's workload. It is responsible for generating the SimpleCreationalContext's which produce instances of beans. It is also responsible for handling the differences in semantics between singleton and dependent-scoped beans.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.jboss.errai.ioc.rebind.ioc.injector.AbstractInjector |
---|
AbstractInjector.RegisterCache |
Field Summary | |
---|---|
protected String |
instanceVarName
|
protected MetaClass |
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 | |
---|---|
TypeInjector(MetaClass type,
InjectionContext context)
|
Method Summary | |
---|---|
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)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected final MetaClass type
protected String instanceVarName
Constructor Detail |
---|
public TypeInjector(MetaClass type, InjectionContext context)
Method Detail |
---|
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
|
Errai 3.0.1-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |