javax.enterprise.context.spi
public interface: CreationalContext [javadoc |
source]
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.
- version:
$
- Rev: 815435 $ $Date: 2009-09-15 21:18:44 +0300 (Tue, 15 Sep 2009) $
Method from javax.enterprise.context.spi.CreationalContext Summary: |
---|
push, release |
Method from javax.enterprise.context.spi.CreationalContext Detail: |
public void push(T incompleteInstance)
Puts new incomplete instance into the creational context. |
public void release()
Destorys all dependent objects of the instance
that is being destroyed. |