- Type Parameters:
H- The type of the handles.
- All Superinterfaces:
DestroyableHandle<H>,InitializableHandle<H>,PausableHandle<H>,ResumableHandle<H>,StartableHandle<H>,StoppableHandle<H>
- All Known Subinterfaces:
ComponentHandleComposite<H,,REF> ConfigurableLifecycleComponentHandle.ConfigurableLifecycleAutomatonHandle<H,,CTX> LifecycleComponentHandle.LifecycleAutomatonHandle<H>
public interface LifecycleComponentHandle<H>
extends InitializableHandle<H>, StartableHandle<H>, PausableHandle<H>, ResumableHandle<H>, StoppableHandle<H>, DestroyableHandle<H>
The
LifecycleComponentHandle manages various LifecycleStatus
states for LifecycleComponent instances each related to a handle.
Operations manipulating on the LifecycleStatus are invoked by this
LifecycleComponentHandle with a handle identifying the according
referenced LifecycleComponent.
The LifecycleComponent contains the business-logic where as the
LifecycleComponentHandle 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 ClassesModifier and TypeInterfaceDescriptionstatic interfaceTheLifecycleComponentHandle.LifecycleAutomatonHandleis an automaton managing variousLifecycleStatusstates forComponentinstances each related to a handle.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.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.InitializableHandle
hasInitalizable, initialize, initializeUncheckedMethods inherited from interface org.refcodes.component.PausableHandle
hasPausable, pause, pauseUncheckedMethods inherited from interface org.refcodes.component.ResumableHandle
hasResumable, resume, resumeUncheckedMethods inherited from interface org.refcodes.component.StartableHandle
hasStartable, start, startUncheckedMethods inherited from interface org.refcodes.component.StoppableHandle
hasStoppable, stop, stopUnchecked