Top Description Methods
javax.enterprise.context.spi

public Interface CreationalContext<T>

Type Parameters
<T>
type of the instances on which this CreationalContext operates

Provides operations that are used by the javax.enterprise.context.spi.Contextual implementation during instance creation and destruction.

Authors
Gavin King, Pete Muir

Method Summary

Modifier and TypeMethod and Description
public void
push(T
the incompletely initialized instance
incompleteInstance
)

Registers an incompletely initialized contextual instance the with the container.

public void
release()

Destroys all dependent objects of the instance which is being destroyed, by passing each dependent object to javax.enterprise.context.spi.Contextual#destroy(Object, CreationalContext) .

Method Detail

pushback to summary
public void push(T incompleteInstance)

Registers an incompletely initialized contextual instance the with the container. A contextual instance is considered incompletely initialized until it is returned by javax.enterprise.context.spi.Contextual#create(CreationalContext) .

Parameters
incompleteInstance:T

the incompletely initialized instance

releaseback to summary
public void release()

Destroys all dependent objects of the instance which is being destroyed, by passing each dependent object to javax.enterprise.context.spi.Contextual#destroy(Object, CreationalContext) .