|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- type of the webbeans componentpublic interface Contextual<T>
Each webbeans instance that is contained in the Context
must be defined as Contextual
.
This interface defines the creating and destroying of the webbeans instances
that are contained in the its Context
instance.
Context
Method Summary | |
---|---|
T |
create(CreationalContext<T> context)
Creates and returns a new instance of the webbeans component. |
void |
destroy(T instance,
CreationalContext<T> context)
Destroys the instance. |
Method Detail |
---|
T create(CreationalContext<T> context)
context
- new creational context instance
CreationException
- if any exception occursvoid destroy(T instance, CreationalContext<T> context)
instance
- already created webbeans instancecontext
- creational context
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |