|
||||||||||
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)
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 instancevoid destroy(T instance)
instance
- the insance to destroy
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |