|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CreationalContext<T>
The CreationalContext holds incomplete Bean instances. This may be caused by
a situation like in the following example:
@ApplicationScoped class Foo
{
@Current Bar _bar;
}
@ApplicationScoped class Bar
{
@Current Foo _bar;
}
Generally it is used for prohibiting the circular references of the webbeans.
Method Summary | |
---|---|
void |
push(T incompleteInstance)
Puts new incomplete instance into the creational context. |
void |
release()
Destorys all dependent objects of the instance that is being destroyed. |
Method Detail |
---|
void push(T incompleteInstance)
incompleteInstance
- incomplete webbeans instancevoid release()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |