public static interface LifeCycleObserver.LifeCycleRequestObserver extends LifeCycleObserver
LifeCycleEvent.LifeCycleRequestEvent
instances.LifeCycleObserver.LifeCycleRequestObserver
Modifier and Type | Method and Description |
---|---|
void |
onInitialize(InitializeEvent aEvent)
In case a component is to be initialized, then the
InitializedEvent event is fired. |
void |
onPause(PauseEvent aEvent)
In case a component is to be initialized, then the
PauseEvent
event is fired. |
void |
onResume(ResumeEvent aEvent)
In case a component is to be initialized, then the
ResumeEvent event is fired. |
void |
onStart(StartEvent aEvent)
In case a component is to be initialized, then the
StartEvent
event is fired. |
void |
onStop(StopEvent aEvent)
In case a component is to be initialized, then the
StopEvent
event is fired. |
onDestroyed, onInitialized, onPaused, onResumed, onStarted, onStopped
void onInitialize(InitializeEvent aEvent) throws org.refcodes.exception.VetoException
InitializedEvent
event is fired.aEvent
- The according InitializedEvent
.org.refcodes.exception.VetoException
- thrown to signal that an operation is being
vetoed by a third party observing the invocation of the given
operation.void onStart(StartEvent aEvent) throws org.refcodes.exception.VetoException
StartEvent
event is fired.aEvent
- The according StartEvent
.org.refcodes.exception.VetoException
- thrown to signal that an operation is being
vetoed by a third party observing the invocation of the given
operation.void onResume(ResumeEvent aEvent) throws org.refcodes.exception.VetoException
ResumeEvent
event is fired.aEvent
- The according ResumeEvent
.org.refcodes.exception.VetoException
- thrown to signal that an operation is being
vetoed by a third party observing the invocation of the given
operation.void onPause(PauseEvent aEvent) throws org.refcodes.exception.VetoException
PauseEvent
event is fired.aEvent
- The according PauseEvent
.org.refcodes.exception.VetoException
- thrown to signal that an operation is being
vetoed by a third party observing the invocation of the given
operation.void onStop(StopEvent aEvent) throws org.refcodes.exception.VetoException
StopEvent
event is fired.aEvent
- The according StopEvent
.org.refcodes.exception.VetoException
- thrown to signal that an operation is being
vetoed by a third party observing the invocation of the given
operation.Copyright © 2018. All rights reserved.