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:
CompositeComponentHandle<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>
TheLifeCycleComponentHandle.LifeCycleAutomatonHandle
is an automaton managing variousLifeCycleStatus
states forComponent
instances each related to a handle. Operations manipulating on theLifeCycleStatus
are invoked by thisLifeCycleComponentHandle.LifeCycleAutomatonHandle
with a handle identifying the according referencedComponent
. TheLifeCycleComponent
contains the business-logic where as theLifeCycleComponentHandle.LifeCycleAutomatonHandle
provides the frame for managing this business-logic. TheLifeCycleComponentHandle.LifeCycleAutomatonHandle
takes care of the correct life-cycle applied on aLifeCycleComponent
.
-
-
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
-
-