CTX
- the context used to initialize the implementing instance.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
ConfigurableLifeCycleAutomatonImpl
public static interface ConfigurableLifeCycleComponent.ConfigurableLifeCycleAutomaton<CTX> extends ConfigurableLifeCycleComponent<CTX>, Configurable.ConfigureAutomaton<CTX>, Startable.StartAutomaton, Pausable.PauseAutomaton, Resumable.ResumeAutomaton, Stoppable.StopAutomaton, Destroyable.DestroyAutomaton, LifeCycleStatusAccessor
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
.Configurable.ConfigureAutomaton<CTX>, Configurable.ConfigureBuilder<CTX,B extends Configurable.ConfigureBuilder<CTX,B>>
ConfigurableLifeCycleComponent.ConfigurableLifeCycleAutomaton<CTX>
Destroyable.DestroyAutomaton
InitializedAccessor.InitializedMutator, InitializedAccessor.InitializedProperty
LifeCycleStatusAccessor.LifeCycleStatusBuilder<B extends LifeCycleStatusAccessor.LifeCycleStatusBuilder<B>>, LifeCycleStatusAccessor.LifeCycleStatusMutator, LifeCycleStatusAccessor.LifeCycleStatusProperty
Pausable.PauseAutomaton, Pausable.PauseBuilder<B extends Pausable.PauseBuilder<B>>, Pausable.UncheckedPausable
Resumable.ResumeAutomaton, Resumable.ResumeBuilder<B extends Resumable.ResumeBuilder<B>>, Resumable.UncheckedResumable
RunningAccessor.RunningMutator, RunningAccessor.RunningProperty
Startable.StartAutomaton, Startable.StartBuilder<B extends Startable.StartBuilder<B>>, Startable.UncheckedStartable
Stoppable.StopAutomaton, Stoppable.StopBuilder<B extends Stoppable.StopBuilder<B>>, Stoppable.UncheckedStoppable
initialize, initializeUnchecked
isInitalizable
destroy
isDestroyable, isDestroyed
isInitialized
getLifeCycleStatus
pause, pauseUnchecked
isPausable, isPaused
resume, resumeUnchecked
isResumable
isRunning
start, startUnchecked
isStartable
stop, stopUnchecked
isStoppable, isStopped
Copyright © 2021. All rights reserved.