public interface LifeCycleObserver extends org.refcodes.observer.Observer<LifeCycleEvent>
LifeCycleEvent
instances.Modifier and Type | Interface and Description |
---|---|
static interface |
LifeCycleObserver.LifeCycleRequestObserver
A listener for listening to
LifeCycleEvent.LifeCycleRequestEvent instances. |
Modifier and Type | Method and Description |
---|---|
void |
onDestroyed(DestroyedEvent aEvent)
In case a component is to be initialized, then the
DestroyedEvent
event is fired. |
void |
onInitialized(InitializedEvent aEvent)
In case a component is to be initialized, then the
InitializedEvent event is fired. |
void |
onPaused(PausedEvent aEvent)
In case a component is to be initialized, then the
StartedEvent
event is fired. |
void |
onResumed(ResumedEvent aEvent)
In case a component is to be initialized, then the
ResumedEvent
event is fired. |
void |
onStarted(StartedEvent aEvent)
In case a component is to be initialized, then the
StartedEvent
event is fired. |
void |
onStopped(StoppedEvent aEvent)
In case a component is to be initialized, then the
StoppedEvent
event is fired. |
void onInitialized(InitializedEvent aEvent)
InitializedEvent
event is fired.aEvent
- The according InitializedEvent
.void onStarted(StartedEvent aEvent)
StartedEvent
event is fired.aEvent
- The according StartedEvent
.void onResumed(ResumedEvent aEvent)
ResumedEvent
event is fired.aEvent
- The according ResumedEvent
.void onPaused(PausedEvent aEvent)
StartedEvent
event is fired.aEvent
- The according StartedEvent
.void onStopped(StoppedEvent aEvent)
StoppedEvent
event is fired.aEvent
- The according StoppedEvent
.void onDestroyed(DestroyedEvent aEvent)
DestroyedEvent
event is fired.aEvent
- The according DestroyedEvent
.Copyright © 2018. All rights reserved.