|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Contextual<T>
The contract between a context and a contextual type This interface should not be implemented directly by the application.
| Method Summary | |
|---|---|
T |
create(CreationalContext<T> creationalContext)
Create a new instance of the contextual type |
void |
destroy(T instance,
CreationalContext<T> creationalContext)
Destroys an instance of the contexual type |
| Method Detail |
|---|
T create(CreationalContext<T> creationalContext)
creationalContext - the creational context in which incompletely initialized
contexts may be placed
CreationException - if a checked exception occurs whilst creating the instance
void destroy(T instance,
CreationalContext<T> creationalContext)
instance - the insance to destroycreationalContext - the creational context used to create the instance
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||