public static interface LifeCycleComponent.LifeCycleAutomaton extends LifeCycleComponent, Initializable.InitializeAutomaton, Startable.StartAutomaton, Pausable.PauseAutomaton, Resumable.ResumeAutomaton, Stoppable.StopAutomaton, Destroyable.DestroyAutomaton, LifeCycleStatusAccessor
LifeCycleComponent.LifeCycleAutomaton
interface supports
managing LifeCycleComponent
instances and takes care that the
life-cycle stages are invoked in the correct order by throwing according
exceptions in case the life-cycle is invoked in the wrong order.
A LifeCycleComponent.LifeCycleAutomaton
may be used to wrap a
LifeCycleComponent
by a LifeCycleComponentHandle.LifeCycleAutomatonHandle
for
managing LifeCycleComponent
instances.
The LifeCycleComponent
contains the business-logic where as the
LifeCycleComponentHandle.LifeCycleAutomatonHandle
provides the frame for managing this
business-logic. The LifeCycleComponent.LifeCycleAutomaton
takes care of the correct
life-cycle applied on a LifeCycleComponent
.LifeCycleComponent.LifeCycleAutomaton, LifeCycleComponent.UncheckedLifeCycleComponent
Initializable.InitializeAutomaton, Initializable.InitializeBuilder<B extends Initializable.InitializeBuilder<B>>, Initializable.UncheckedInitializable
InitializedAccessor.InitializedMutator, InitializedAccessor.InitializedProperty
Startable.StartAutomaton, Startable.StartBuilder<B extends Startable.StartBuilder<B>>, Startable.UncheckedStartable
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
Stoppable.StopAutomaton, Stoppable.StopBuilder<B extends Stoppable.StopBuilder<B>>, Stoppable.UncheckedStoppable
Destroyable.DestroyAutomaton
LifeCycleStatusAccessor.LifeCycleStatusMutator, LifeCycleStatusAccessor.LifeCycleStatusProperty
isInitalizable
initialize
isInitialized
isStartable
isPausable, isPaused
isResumable
isRunning
isStoppable, isStopped
isDestroyable, isDestroyed
destroy
getLifeCycleStatus
Copyright © 2015. All rights reserved.