Package org.refcodes.component
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 theConfigurableLifeCycleComponent.ConfigurableLifeCycleAutomatoninterface supports managingConfigurableLifeCycleComponentinstances 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. AConfigurableLifeCycleComponent.ConfigurableLifeCycleAutomatonmay be used to wrap aConfigurableLifeCycleComponentby aConfigurableLifeCycleComponentHandle.ConfigurableLifeCycleAutomatonHandlefor managingConfigurableLifeCycleComponent.ConfigurableLifeCycleAutomatoninstances. TheConfigurableLifeCycleComponentcontains the business-logic where as theConfigurableLifeCycleComponentHandleprovides the frame for managing this business-logic. TheConfigurableLifeCycleComponent.ConfigurableLifeCycleAutomatontakes care of the correct open/close-cycle applied on aConfigurableLifeCycleComponent.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.refcodes.component.Configurable
Configurable.ConfigureAutomaton<CTX>, Configurable.ConfigureBuilder<CTX,B extends Configurable.ConfigureBuilder<CTX,B>>
-
Nested classes/interfaces inherited from interface org.refcodes.component.ConfigurableLifeCycleComponent
ConfigurableLifeCycleComponent.ConfigurableLifeCycleAutomaton<CTX>
-
Nested classes/interfaces inherited from interface org.refcodes.component.Destroyable
Destroyable.DestroyAutomaton
-
Nested classes/interfaces inherited from interface org.refcodes.component.InitializedAccessor
InitializedAccessor.InitializedMutator, InitializedAccessor.InitializedProperty
-
Nested classes/interfaces inherited from interface org.refcodes.component.LifeCycleStatusAccessor
LifeCycleStatusAccessor.LifeCycleStatusBuilder<B extends LifeCycleStatusAccessor.LifeCycleStatusBuilder<B>>, LifeCycleStatusAccessor.LifeCycleStatusMutator, LifeCycleStatusAccessor.LifeCycleStatusProperty
-
Nested classes/interfaces inherited from interface org.refcodes.component.Pausable
Pausable.PauseAutomaton, Pausable.PauseBuilder<B extends Pausable.PauseBuilder<B>>, Pausable.UncheckedPausable
-
Nested classes/interfaces inherited from interface org.refcodes.component.Resumable
Resumable.ResumeAutomaton, Resumable.ResumeBuilder<B extends Resumable.ResumeBuilder<B>>, Resumable.UncheckedResumable
-
Nested classes/interfaces inherited from interface org.refcodes.component.RunningAccessor
RunningAccessor.RunningMutator, RunningAccessor.RunningProperty
-
Nested classes/interfaces inherited from interface org.refcodes.component.Startable
Startable.StartAutomaton, Startable.StartBuilder<B extends Startable.StartBuilder<B>>, Startable.UncheckedStartable
-
Nested classes/interfaces inherited from interface org.refcodes.component.Stoppable
Stoppable.StopAutomaton, Stoppable.StopBuilder<B extends Stoppable.StopBuilder<B>>, Stoppable.UncheckedStoppable
-
-
Method Summary
-
Methods inherited from interface org.refcodes.component.Configurable
initialize, initializeUnchecked
-
Methods inherited from interface org.refcodes.component.Configurable.ConfigureAutomaton
isInitalizable
-
Methods inherited from interface org.refcodes.component.Destroyable
destroy
-
Methods inherited from interface org.refcodes.component.Destroyable.DestroyAutomaton
isDestroyable, isDestroyed
-
Methods inherited from interface org.refcodes.component.InitializedAccessor
isInitialized
-
Methods inherited from interface org.refcodes.component.LifeCycleStatusAccessor
getLifeCycleStatus
-
Methods inherited from interface org.refcodes.component.Pausable
pause, pauseUnchecked
-
Methods inherited from interface org.refcodes.component.Pausable.PauseAutomaton
isPausable, isPaused
-
Methods inherited from interface org.refcodes.component.Resumable
resume, resumeUnchecked
-
Methods inherited from interface org.refcodes.component.Resumable.ResumeAutomaton
isResumable
-
Methods inherited from interface org.refcodes.component.RunningAccessor
isRunning
-
Methods inherited from interface org.refcodes.component.Startable
start, startUnchecked
-
Methods inherited from interface org.refcodes.component.Startable.StartAutomaton
isStartable
-
Methods inherited from interface org.refcodes.component.Stoppable
stop, stopUnchecked
-
Methods inherited from interface org.refcodes.component.Stoppable.StopAutomaton
isStoppable, isStopped
-
-