Home » apache-openwebbeans-1.0.0-incubating-M3-sources » javax.enterprise.context.spi » [javadoc | source]
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.

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.