|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface InjectionContext<T>
The context in which instance injection occurs.
Method Summary | |
---|---|
javax.enterprise.inject.spi.AnnotatedType<T> |
getAnnotatedType()
Get the AnnotatedType for the instance being injected |
javax.enterprise.inject.spi.InjectionTarget<T> |
getInjectionTarget()
Get the InjectionTarget for the instance being injected |
T |
getTarget()
Get the underlying instance to be injected. |
void |
proceed()
Calling proceed() will cause Weld to perform injection on the
instance as it normally would. |
Method Detail |
---|
void proceed()
proceed()
will cause Weld to perform injection on the
instance as it normally would. It is legal to not call proceed()
,
however the container must ensure all injection, including CDI-style
Inject
injection is done.
T getTarget()
SessionObjectReference.getBusinessObject(Class)
javax.enterprise.inject.spi.InjectionTarget<T> getInjectionTarget()
InjectionTarget
for the instance being injected
javax.enterprise.inject.spi.AnnotatedType<T> getAnnotatedType()
AnnotatedType
for the instance being injected
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |