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, hasDestroyableMethods inherited from interface org.refcodes.component.DestroyableHandle.DestroyAutomatonHandle
hasDestroyAutomaton, isDestroyable, isDestroyedMethods inherited from interface org.refcodes.component.InitializableHandle
hasInitalizable, initialize, initializeUncheckedMethods inherited from interface org.refcodes.component.InitializableHandle.InitializeAutomatonHandle
hasInitializeAutomaton, isInitalizableMethods inherited from interface org.refcodes.component.InitializedHandle
isInitzializedMethods inherited from interface org.refcodes.component.LifecycleStatusHandle
getLifecycleStatus, hasLifecycleStatusMethods inherited from interface org.refcodes.component.PausableHandle
hasPausable, pause, pauseUncheckedMethods inherited from interface org.refcodes.component.PausableHandle.PauseAutomatonHandle
hasPauseAutomaton, isPausable, isPausedMethods inherited from interface org.refcodes.component.ResumableHandle
hasResumable, resume, resumeUncheckedMethods inherited from interface org.refcodes.component.ResumableHandle.ResumeAutomatonHandle
hasResumeAutomaton, isResumableMethods inherited from interface org.refcodes.component.RunningHandle
isRunningMethods inherited from interface org.refcodes.component.StartableHandle
hasStartable, start, startUncheckedMethods inherited from interface org.refcodes.component.StartableHandle.StartAutomatonHandle
hasStartAutomaton, isStartableMethods inherited from interface org.refcodes.component.StoppableHandle
hasStoppable, stop, stopUncheckedMethods inherited from interface org.refcodes.component.StoppableHandle.StopAutomatonHandle
hasStopAutomaton, isStoppable, isStopped