public abstract class AbstractInjectable<T> extends Object
Do actual injection via inject(InjectionPoint)
InjectableField,
InjectableConstructor,
InjectableMethod| Modifier and Type | Field and Description |
|---|---|
protected CreationalContextImpl<?> |
creationalContext |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractInjectable(Producer<?> owner,
CreationalContextImpl<?> creationalContext) |
| Modifier and Type | Method and Description |
|---|---|
protected static List<InjectionPoint> |
createInjectionPoints(Producer<?> owner,
Member member) |
protected Contextual<?> |
getBean() |
protected List<InjectionPoint> |
getInjectionPoints(Member member)
Returns injection points related with given member type of the bean.
|
protected WebBeansContext |
getWebBeansContext() |
T |
inject(InjectionPoint injectionPoint)
Gets the injected bean instance in its scoped context.
|
protected final CreationalContextImpl<?> creationalContext
protected AbstractInjectable(Producer<?> owner, CreationalContextImpl<?> creationalContext)
public T inject(InjectionPoint injectionPoint)
injectionPoint - injection point definitionprotected Contextual<?> getBean()
protected WebBeansContext getWebBeansContext()
protected List<InjectionPoint> getInjectionPoints(Member member)
member - java memberprotected static List<InjectionPoint> createInjectionPoints(Producer<?> owner, Member member)
Copyright © 2008–2015 The Apache Software Foundation. All rights reserved.