|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.webbeans.inject.AbstractInjectable
public abstract class AbstractInjectable
Abstract implementation of the Injectable contract.
Do actual injection via inject(InjectionPoint)
InjectableField,
InjectableConstructor,
InjectableMethods| Field Summary | |
|---|---|
static ThreadLocal<List<DependentCreationalContext<Object>>> |
dependentInstanceOfProducerMethods
|
protected Member |
injectionMember
Field, method or constructor injection |
protected OwbBean<?> |
injectionOwnerBean
Owner bean of the injection point |
protected javax.enterprise.context.spi.CreationalContext<?> |
injectionOwnerCreationalContext
Creational context instance that is passed to bean's create |
static ThreadLocal<Object> |
instanceUnderInjection
|
| Constructor Summary | |
|---|---|
protected |
AbstractInjectable(OwbBean<?> injectionOwnerBean,
javax.enterprise.context.spi.CreationalContext<?> injectionOwnerCreationalContext)
Creates a new injectable. |
| Method Summary | ||
|---|---|---|
protected List<javax.enterprise.inject.spi.InjectionPoint> |
getInjectedPoints(Member member)
Returns injection points related with given member type of the bean. |
|
OwbBean<?> |
getInjectionOwnerComponent()
Gets the component. |
|
|
inject(javax.enterprise.inject.spi.InjectionPoint injectionPoint)
Gets the injected bean instance in its scoped context. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.webbeans.inject.Injectable |
|---|
doInjection |
| Field Detail |
|---|
protected OwbBean<?> injectionOwnerBean
protected javax.enterprise.context.spi.CreationalContext<?> injectionOwnerCreationalContext
protected Member injectionMember
public static ThreadLocal<Object> instanceUnderInjection
public static ThreadLocal<List<DependentCreationalContext<Object>>> dependentInstanceOfProducerMethods
| Constructor Detail |
|---|
protected AbstractInjectable(OwbBean<?> injectionOwnerBean,
javax.enterprise.context.spi.CreationalContext<?> injectionOwnerCreationalContext)
injectionOwnerBean - owner beaninjectionOwnerCreationalContext - creational context instance| Method Detail |
|---|
public <T> Object inject(javax.enterprise.inject.spi.InjectionPoint injectionPoint)
injectionPoint - injection point definition
protected List<javax.enterprise.inject.spi.InjectionPoint> getInjectedPoints(Member member)
member - java member
public OwbBean<?> getInjectionOwnerComponent()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||