public interface LifeCycleListener
| Modifier and Type | Method and Description |
|---|---|
void |
postConstructingInstance(java.lang.Object object,
java.lang.reflect.Method postConstructMethod)
Called when a post construction method of an object is called
|
void |
preDestroyingInstance(java.lang.Object object,
java.lang.reflect.Method preDestroyMethod)
Called when a pre destruction method of an object is called
|
void |
startedLifeCycle()
Called when state changes from STARTING to STARTED
|
void |
startingInstance(java.lang.Object object)
Called when post construction of an object starts
|
void |
startingLifeCycle()
Called when state changes from LATENT to STARTING
|
void |
stoppedLifeCycle()
Called when state changes from STOPPING to STOPPED
|
void |
stoppingInstance(java.lang.Object object)
Called when pre destruction of an object starts
|
void |
stoppingLifeCycle()
Called when state changes from STARTED to STOPPING
|
void startingLifeCycle()
void startedLifeCycle()
void stoppingLifeCycle()
void stoppedLifeCycle()
void startingInstance(java.lang.Object object)
object - the object that will be constructedvoid postConstructingInstance(java.lang.Object object,
java.lang.reflect.Method postConstructMethod)
object - the object that has PostConstruct methodpostConstructMethod - the Method object of the PostConstruct methodvoid stoppingInstance(java.lang.Object object)
object - the object that will be destroyedvoid preDestroyingInstance(java.lang.Object object,
java.lang.reflect.Method preDestroyMethod)
object - the object that has PreDestroy methodpreDestroyMethod - the Method object of the PreDestroy method