|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ILifecycleListener
A listener which will get notifications when new contexts are created.
Specification.addListener(ILifecycleListener)| Method Summary | |
|---|---|
void |
afterContextCreation(java.lang.Object contextInstance,
java.lang.Object createdContext)
Called just after context's create method has been called. |
void |
afterContextDestroy(java.lang.Object contextInstance)
Called just after context's destroy method has been called. |
void |
afterContextInstantiation(java.lang.Object contextInstance)
Called just after a context has been instantiated. |
| Method Detail |
|---|
void afterContextInstantiation(java.lang.Object contextInstance)
contextInstance - the instantiated context
void afterContextCreation(java.lang.Object contextInstance,
java.lang.Object createdContext)
create method has been called.
contextInstance - the holding contextcreatedContext - the object which was returned from create methodvoid afterContextDestroy(java.lang.Object contextInstance)
destroy method has been called.
contextInstance - the context instance
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||