Interface ConfigurableLifecycleComponent.ConfigurableLifecycleAutomaton<CTX>
- Type Parameters:
CTX- the context used to initialize the implementing instance.
- All Superinterfaces:
Configurable<CTX>, Configurable.ConfigureAutomaton<CTX>, ConfigurableLifecycleComponent<CTX>, Destroyable, Destroyable.DestroyAutomaton, InitializedAccessor, LifecycleStatusAccessor, Pausable, Pausable.PauseAutomaton, Resumable, Resumable.ResumeAutomaton, RunningAccessor, Startable, Startable.StartAutomaton, Stoppable, Stoppable.StopAutomaton
- All Known Implementing Classes:
ConfigurableLifecycleAutomatonImpl
- Enclosing interface:
ConfigurableLifecycleComponent<CTX>
public static interface ConfigurableLifecycleComponent.ConfigurableLifecycleAutomaton<CTX>
extends ConfigurableLifecycleComponent<CTX>, Configurable.ConfigureAutomaton<CTX>, Startable.StartAutomaton, Pausable.PauseAutomaton, Resumable.ResumeAutomaton, Stoppable.StopAutomaton, Destroyable.DestroyAutomaton, LifecycleStatusAccessor
A system implementing the
ConfigurableLifecycleComponent.ConfigurableLifecycleAutomaton
interface supports managing ConfigurableLifecycleComponent
instances and takes care that the open/close statuses are invoked in the
correct order by throwing according exceptions in case the
open/close-cycle is invoked in the wrong order. A
ConfigurableLifecycleComponent.ConfigurableLifecycleAutomaton may be used to wrap a
ConfigurableLifecycleComponent by a
ConfigurableLifecycleComponentHandle.ConfigurableLifecycleAutomatonHandle for managing
ConfigurableLifecycleComponent.ConfigurableLifecycleAutomaton instances. The
ConfigurableLifecycleComponent contains the business-logic where
as the ConfigurableLifecycleComponentHandle provides the frame
for managing this business-logic. The
ConfigurableLifecycleComponent.ConfigurableLifecycleAutomaton takes care of the correct
open/close-cycle applied on a ConfigurableLifecycleComponent.-
Nested Class Summary
Nested classes/interfaces inherited from interface Configurable
Configurable.ConfigureAutomaton<CTX>, Configurable.ConfigureBuilder<CTX,B> Nested classes/interfaces inherited from interface ConfigurableLifecycleComponent
ConfigurableLifecycleComponent.ConfigurableLifecycleAutomaton<CTX>Nested classes/interfaces inherited from interface Destroyable
Destroyable.DestroyAutomatonNested classes/interfaces inherited from interface InitializedAccessor
InitializedAccessor.InitializedMutator, InitializedAccessor.InitializedPropertyNested classes/interfaces inherited from interface LifecycleStatusAccessor
LifecycleStatusAccessor.LifecycleStatusBuilder<B>, LifecycleStatusAccessor.LifecycleStatusMutator, LifecycleStatusAccessor.LifecycleStatusPropertyNested classes/interfaces inherited from interface Pausable
Pausable.PauseAutomaton, Pausable.PauseBuilder<B>, Pausable.UncheckedPausableNested classes/interfaces inherited from interface Resumable
Resumable.ResumeAutomaton, Resumable.ResumeBuilder<B>, Resumable.UncheckedResumableNested classes/interfaces inherited from interface RunningAccessor
RunningAccessor.RunningMutator, RunningAccessor.RunningPropertyNested classes/interfaces inherited from interface Startable
Startable.StartAutomaton, Startable.StartBuilder<B>, Startable.UncheckedStartableNested classes/interfaces inherited from interface Stoppable
Stoppable.StopAutomaton, Stoppable.StopBuilder<B>, Stoppable.UncheckedStoppable -
Method Summary
Methods inherited from interface Configurable
initialize, initializeUncheckedMethods inherited from interface Configurable.ConfigureAutomaton
isInitalizableMethods inherited from interface Destroyable
destroyMethods inherited from interface Destroyable.DestroyAutomaton
isDestroyable, isDestroyedMethods inherited from interface InitializedAccessor
isInitializedMethods inherited from interface LifecycleStatusAccessor
getLifecycleStatusMethods inherited from interface Pausable
pause, pauseUncheckedMethods inherited from interface Pausable.PauseAutomaton
isPausable, isPausedMethods inherited from interface Resumable
resume, resumeUncheckedMethods inherited from interface Resumable.ResumeAutomaton
isResumableMethods inherited from interface RunningAccessor
isRunningMethods inherited from interface Startable
start, startUncheckedMethods inherited from interface Startable.StartAutomaton
isStartableMethods inherited from interface Stoppable
stop, stopUncheckedMethods inherited from interface Stoppable.StopAutomaton
isStoppable, isStopped