public abstract class AbstractInjectable extends Object implements Injectable
Injectable contract.
Do actual injection via inject(InjectionPoint)
| Modifier and Type | Field and Description |
|---|---|
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 |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractInjectable(OwbBean<?> injectionOwnerBean,
javax.enterprise.context.spi.CreationalContext<?> injectionOwnerCreationalContext)
Creates a new injectable.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
<T> Object |
inject(javax.enterprise.inject.spi.InjectionPoint injectionPoint)
Gets the injected bean instance in its scoped context.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdoInjectionprotected OwbBean<?> injectionOwnerBean
protected javax.enterprise.context.spi.CreationalContext<?> injectionOwnerCreationalContext
protected Member injectionMember
public static ThreadLocal<Object> instanceUnderInjection
public static ThreadLocal<List<DependentCreationalContext<Object>>> dependentInstanceOfProducerMethods
protected AbstractInjectable(OwbBean<?> injectionOwnerBean, javax.enterprise.context.spi.CreationalContext<?> injectionOwnerCreationalContext)
injectionOwnerBean - owner beaninjectionOwnerCreationalContext - creational context instancepublic <T> Object inject(javax.enterprise.inject.spi.InjectionPoint injectionPoint)
injectionPoint - injection point definitionprotected List<javax.enterprise.inject.spi.InjectionPoint> getInjectedPoints(Member member)
member - java memberpublic OwbBean<?> getInjectionOwnerComponent()
Copyright © 2008-2013 The Apache Software Foundation. All Rights Reserved.