LifeCycleStatusObserverpublic interface GenericLifeCycleStatusObserver<A,INITED extends GenericInitializedEvent<A,META,SRC>,STARTED extends GenericStartedEvent<A,META,SRC>,RESUMED extends GenericResumedEvent<A,META,SRC>,PAUSED extends GenericPausedEvent<A,META,SRC>,STOPPED extends GenericStoppedEvent<A,META,SRC>,DESTROYED extends GenericDestroyedEvent<A,META,SRC>,META extends org.refcodes.observer.EventMetaData,SRC>
GenericLifeCycleStatusObserver is signaled upon
GenericLifeCycleStatusEvent events.| Modifier and Type | Method | Description |
|---|---|---|
void |
onDestroyed(DESTROYED aEvent) |
In case a component is to be initialized, then the
GenericDestroyedEvent event is fired. |
void |
onInitialized(INITED aEvent) |
In case a component is to be initialized, then the
GenericInitializedEvent event is fired. |
void |
onPaused(PAUSED aEvent) |
In case a component is to be initialized, then the
GenericStartedEvent event is fired. |
void |
onResumed(RESUMED aEvent) |
In case a component is to be initialized, then the
GenericResumedEvent event is fired. |
void |
onStarted(STARTED aEvent) |
In case a component is to be initialized, then the
GenericStartedEvent event is fired. |
void |
onStopped(STOPPED aEvent) |
In case a component is to be initialized, then the
GenericStoppedEvent event is fired. |
void onInitialized(INITED aEvent)
GenericInitializedEvent event is fired.aEvent - The according GenericInitializedEvent.void onStarted(STARTED aEvent)
GenericStartedEvent event is fired.aEvent - The according GenericStartedEvent.void onResumed(RESUMED aEvent)
GenericResumedEvent event is fired.aEvent - The according GenericResumedEvent.void onPaused(PAUSED aEvent)
GenericStartedEvent event is fired.aEvent - The according GenericStartedEvent.void onStopped(STOPPED aEvent)
GenericStoppedEvent event is fired.aEvent - The according GenericStoppedEvent.void onDestroyed(DESTROYED aEvent)
GenericDestroyedEvent event is fired.aEvent - The according GenericDestroyedEvent.Copyright © 2018. All rights reserved.