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.mixin.EventMetaData,SRC>
- All Known Subinterfaces:
LifecycleRequestObserver
public 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.mixin.EventMetaData,SRC>
The
GenericLifecycleRequestObserver
is signaled upon
GenericLifecycleRequestEvent
events.-
Method Summary
Modifier and TypeMethodDescriptionvoid
In case a component is to be initialized, then theGenericDestroyEvent
event is fired.void
onInitialize
(INIT aEvent) In case a component is to be initialized, then theGenericInitializeEvent
event is fired.void
In case a component is to be initialized, then theGenericPauseEvent
event is fired.void
In case a component is to be initialized, then theGenericResumeEvent
event is fired.void
In case a component is to be initialized, then theGenericStartEvent
event is fired.void
In case a component is to be initialized, then theGenericStopEvent
event is fired.
-
Method Details
-
onInitialize
In case a component is to be initialized, then theGenericInitializeEvent
event is fired.- Parameters:
aEvent
- The accordingGenericInitializeEvent
.
-
onStart
In case a component is to be initialized, then theGenericStartEvent
event is fired.- Parameters:
aEvent
- The accordingGenericStartEvent
.
-
onResume
In case a component is to be initialized, then theGenericResumeEvent
event is fired.- Parameters:
aEvent
- The accordingGenericResumeEvent
.
-
onPause
In case a component is to be initialized, then theGenericPauseEvent
event is fired.- Parameters:
aEvent
- The accordingGenericPauseEvent
.
-
onStop
In case a component is to be initialized, then theGenericStopEvent
event is fired.- Parameters:
aEvent
- The accordingGenericStopEvent
.
-
onDestroy
In case a component is to be initialized, then theGenericDestroyEvent
event is fired.- Parameters:
aEvent
- The accordingGenericDestroyEvent
.
-