LifeCycleRequestObserverpublic interface GenericLifeCycleRequestObserver<A,INIT extends GenericInitializeEvent<A,META,SRC>,START extends GenericStartEvent<A,META,SRC>,RESUME extends GenericResumeEvent<A,META,SRC>,PAUSE extends GenericPauseEvent<A,META,SRC>,STOP extends GenericStopEvent<A,META,SRC>,DESTROY extends GenericDestroyEvent<A,META,SRC>,META extends org.refcodes.observer.EventMetaData,SRC>
GenericLifeCycleRequestObserver is signaled upon
GenericLifeCycleRequestEvent events.| Modifier and Type | Method | Description |
|---|---|---|
void |
onDestroy(DESTROY aEvent) |
In case a component is to be initialized, then the
GenericDestroyEvent event is fired. |
void |
onInitialize(INIT aEvent) |
In case a component is to be initialized, then the
GenericInitializeEvent event is fired. |
void |
onPause(PAUSE aEvent) |
In case a component is to be initialized, then the
GenericPauseEvent event is fired. |
void |
onResume(RESUME aEvent) |
In case a component is to be initialized, then the
GenericResumeEvent event is fired. |
void |
onStart(START aEvent) |
In case a component is to be initialized, then the
GenericStartEvent event is fired. |
void |
onStop(STOP aEvent) |
In case a component is to be initialized, then the
GenericStopEvent event is fired. |
void onInitialize(INIT aEvent)
GenericInitializeEvent event is fired.aEvent - The according GenericInitializeEvent.void onStart(START aEvent)
GenericStartEvent event is fired.aEvent - The according GenericStartEvent.void onResume(RESUME aEvent)
GenericResumeEvent event is fired.aEvent - The according GenericResumeEvent.void onPause(PAUSE aEvent)
GenericPauseEvent event is fired.aEvent - The according GenericPauseEvent.void onStop(STOP aEvent)
GenericStopEvent event is fired.aEvent - The according GenericStopEvent.void onDestroy(DESTROY aEvent)
GenericDestroyEvent event is fired.aEvent - The according GenericDestroyEvent.Copyright © 2018. All rights reserved.