Class ObservableLifecycleRequestMachine<SRC>

java.lang.Object
org.refcodes.component.LifecycleMachine
org.refcodes.component.ext.observer.ObservableLifecycleRequestMachine<SRC>
Type Parameters:
SRC - The source of the events consumed by the LifecycleRequestObserver.
All Implemented Interfaces:
Destroyable, Destroyable.DestroyAutomaton, Initializable, Initializable.InitializeAutomaton, InitializedAccessor, LifecycleComponent, LifecycleComponent.LifecycleAutomaton, LifecycleStatusAccessor, Pausable, Pausable.PauseAutomaton, Resumable, Resumable.ResumeAutomaton, RunningAccessor, Startable, Startable.StartAutomaton, Stoppable, Stoppable.StopAutomaton, Observable<LifecycleRequestObserver<InitializeRequestedEvent<SRC>, StartRequestedEvent<SRC>, ResumeRequestedEvent<SRC>, PauseRequestedEvent<SRC>, StopRequestedEvent<SRC>, DestroyRequestedEvent<SRC>, EventMetaData, SRC>>

public class ObservableLifecycleRequestMachine<SRC> extends LifecycleMachine implements Observable<LifecycleRequestObserver<InitializeRequestedEvent<SRC>, StartRequestedEvent<SRC>, ResumeRequestedEvent<SRC>, PauseRequestedEvent<SRC>, StopRequestedEvent<SRC>, DestroyRequestedEvent<SRC>, EventMetaData, SRC>>
The ObservableLifecycleRequestMachine extends the LifecycleMachine with request ActionEvent functionality which can be vetoed. The implementation is suffixed with "Machine" instead of "Automaton" for differentiation with any interface of similar (same) name.