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.mixin.EventMetaData,SRC>
- All Known Subinterfaces:
LifecycleStatusObserver
public 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.mixin.EventMetaData,SRC>
The
GenericLifecycleStatusObserver
is signaled upon
GenericLifecycleStatusEvent
events.-
Method Summary
Modifier and TypeMethodDescriptionvoid
onDestroyed
(DESTROYED aEvent) In case a component is to be initialized, then theGenericDestroyedEvent
event is fired.void
onInitialized
(INITED aEvent) In case a component is to be initialized, then theGenericInitializedEvent
event is fired.void
In case a component is to be initialized, then theGenericStartedEvent
event is fired.void
In case a component is to be initialized, then theGenericResumedEvent
event is fired.void
In case a component is to be initialized, then theGenericStartedEvent
event is fired.void
In case a component is to be initialized, then theGenericStoppedEvent
event is fired.
-
Method Details
-
onInitialized
In case a component is to be initialized, then theGenericInitializedEvent
event is fired.- Parameters:
aEvent
- The accordingGenericInitializedEvent
.
-
onStarted
In case a component is to be initialized, then theGenericStartedEvent
event is fired.- Parameters:
aEvent
- The accordingGenericStartedEvent
.
-
onResumed
In case a component is to be initialized, then theGenericResumedEvent
event is fired.- Parameters:
aEvent
- The accordingGenericResumedEvent
.
-
onPaused
In case a component is to be initialized, then theGenericStartedEvent
event is fired.- Parameters:
aEvent
- The accordingGenericStartedEvent
.
-
onStopped
In case a component is to be initialized, then theGenericStoppedEvent
event is fired.- Parameters:
aEvent
- The accordingGenericStoppedEvent
.
-
onDestroyed
In case a component is to be initialized, then theGenericDestroyedEvent
event is fired.- Parameters:
aEvent
- The accordingGenericDestroyedEvent
.
-