Module org.refcodes.component
Package org.refcodes.component
Interface LifecycleComponentHandle.LifecycleAutomatonHandle<H>
- Type Parameters:
H
- The type of the handle.
- All Superinterfaces:
DestroyableHandle<H>
,DestroyableHandle.DestroyAutomatonHandle<H>
,InitializableHandle<H>
,InitializableHandle.InitializeAutomatonHandle<H>
,InitializedHandle<H>
,LifecycleComponentHandle<H>
,LifecycleStatusHandle<H>
,PausableHandle<H>
,PausableHandle.PauseAutomatonHandle<H>
,ResumableHandle<H>
,ResumableHandle.ResumeAutomatonHandle<H>
,RunningHandle<H>
,StartableHandle<H>
,StartableHandle.StartAutomatonHandle<H>
,StoppableHandle<H>
,StoppableHandle.StopAutomatonHandle<H>
- All Known Subinterfaces:
ComponentHandleComposite<H,
REF>
- Enclosing interface:
- LifecycleComponentHandle<H>
public static interface LifecycleComponentHandle.LifecycleAutomatonHandle<H>
extends LifecycleComponentHandle<H>, InitializableHandle.InitializeAutomatonHandle<H>, StartableHandle.StartAutomatonHandle<H>, PausableHandle.PauseAutomatonHandle<H>, ResumableHandle.ResumeAutomatonHandle<H>, StoppableHandle.StopAutomatonHandle<H>, DestroyableHandle.DestroyAutomatonHandle<H>, LifecycleStatusHandle<H>
The
LifecycleComponentHandle.LifecycleAutomatonHandle
is an automaton managing various
LifecycleStatus
states for Component
instances each
related to a handle. Operations manipulating on the
LifecycleStatus
are invoked by this
LifecycleComponentHandle.LifecycleAutomatonHandle
with a handle identifying the according
referenced Component
. The LifecycleComponent
contains the
business-logic where as the LifecycleComponentHandle.LifecycleAutomatonHandle
provides the
frame for managing this business-logic. The
LifecycleComponentHandle.LifecycleAutomatonHandle
takes care of the correct life-cycle
applied on a LifecycleComponent
.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.component.DestroyableHandle
DestroyableHandle.DestroyAutomatonHandle<H>
Nested classes/interfaces inherited from interface org.refcodes.component.InitializableHandle
InitializableHandle.InitializeAutomatonHandle<H>
Nested classes/interfaces inherited from interface org.refcodes.component.LifecycleComponentHandle
LifecycleComponentHandle.LifecycleAutomatonHandle<H>
Nested classes/interfaces inherited from interface org.refcodes.component.PausableHandle
PausableHandle.PauseAutomatonHandle<H>
Nested classes/interfaces inherited from interface org.refcodes.component.ResumableHandle
ResumableHandle.ResumeAutomatonHandle<H>
Nested classes/interfaces inherited from interface org.refcodes.component.StartableHandle
StartableHandle.StartAutomatonHandle<H>
Nested classes/interfaces inherited from interface org.refcodes.component.StoppableHandle
StoppableHandle.StopAutomatonHandle<H>
-
Method Summary
Methods inherited from interface org.refcodes.component.DestroyableHandle
destroy, hasDestroyable
Methods inherited from interface org.refcodes.component.DestroyableHandle.DestroyAutomatonHandle
hasDestroyAutomaton, isDestroyable, isDestroyed
Methods inherited from interface org.refcodes.component.InitializableHandle
hasInitalizable, initialize, initializeUnchecked
Methods inherited from interface org.refcodes.component.InitializableHandle.InitializeAutomatonHandle
hasInitializeAutomaton, isInitalizable
Methods inherited from interface org.refcodes.component.InitializedHandle
isInitzialized
Methods inherited from interface org.refcodes.component.LifecycleStatusHandle
getLifecycleStatus, hasLifecycleStatus
Methods inherited from interface org.refcodes.component.PausableHandle
hasPausable, pause, pauseUnchecked
Methods inherited from interface org.refcodes.component.PausableHandle.PauseAutomatonHandle
hasPauseAutomaton, isPausable, isPaused
Methods inherited from interface org.refcodes.component.ResumableHandle
hasResumable, resume, resumeUnchecked
Methods inherited from interface org.refcodes.component.ResumableHandle.ResumeAutomatonHandle
hasResumeAutomaton, isResumable
Methods inherited from interface org.refcodes.component.RunningHandle
isRunning
Methods inherited from interface org.refcodes.component.StartableHandle
hasStartable, start, startUnchecked
Methods inherited from interface org.refcodes.component.StartableHandle.StartAutomatonHandle
hasStartAutomaton, isStartable
Methods inherited from interface org.refcodes.component.StoppableHandle
hasStoppable, stop, stopUnchecked
Methods inherited from interface org.refcodes.component.StoppableHandle.StopAutomatonHandle
hasStopAutomaton, isStoppable, isStopped