public interface CreationalContext<T>
Provides operations that are used by the Contextual
implementation during instance
creation and destruction.
Modifier and Type | Method and Description |
---|---|
void |
push(T incompleteInstance)
Registers an incompletely initialized contextual instance the with the container.
|
void |
release()
Destroys all dependent objects of the instance which is being destroyed, by passing each dependent object to
Contextual.destroy(Object, CreationalContext) . |
void push(T incompleteInstance)
Contextual.create(CreationalContext)
.incompleteInstance
- the incompletely initialized instancevoid release()
Contextual.destroy(Object, CreationalContext)
.Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.