Package org.refcodes.component
Interface LifeCycleComponentHandle<H>
-
- 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:
CompositeComponentHandle<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>
TheLifeCycleComponentHandlemanages variousLifeCycleStatusstates forLifeCycleComponentinstances each related to a handle. Operations manipulating on theLifeCycleStatusare invoked by thisLifeCycleComponentHandlewith a handle identifying the according referencedLifeCycleComponent.The
LifeCycleComponentcontains the business-logic where as theLifeCycleComponentHandleprovides the frame for managing this business-logic. TheLifeCycleComponentHandle.LifeCycleAutomatonHandletakes care of the correct life-cycle applied on aLifeCycleComponent.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceLifeCycleComponentHandle.LifeCycleAutomatonHandle<H>TheLifeCycleComponentHandle.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, hasDestroyable
-
Methods inherited from interface org.refcodes.component.InitializableHandle
hasInitalizable, initialize, initializeUnchecked
-
Methods inherited from interface org.refcodes.component.PausableHandle
hasPausable, pause, pauseUnchecked
-
Methods inherited from interface org.refcodes.component.ResumableHandle
hasResumable, resume, resumeUnchecked
-
Methods inherited from interface org.refcodes.component.StartableHandle
hasStartable, start, startUnchecked
-
Methods inherited from interface org.refcodes.component.StoppableHandle
hasStoppable, stop, stopUnchecked
-
-