Package org.refcodes.component
Interface ConfigurableLifeCycleComponentHandle<H,CTX>
-
- Type Parameters:
H
- The type of the handles.CTX
- The context used to initialize the referenced instance.
- All Superinterfaces:
ConfigurableHandle<H,CTX>
,DestroyableHandle<H>
,PausableHandle<H>
,ResumableHandle<H>
,StartableHandle<H>
,StoppableHandle<H>
- All Known Subinterfaces:
ConfigurableLifeCycleComponentHandle.ConfigurableLifeCycleAutomatonHandle<H,CTX>
public interface ConfigurableLifeCycleComponentHandle<H,CTX> extends ConfigurableHandle<H,CTX>, StartableHandle<H>, PausableHandle<H>, ResumableHandle<H>, StoppableHandle<H>, DestroyableHandle<H>
TheConfigurableLifeCycleComponentHandle
manages variousLifeCycleStatus
states forConfigurableLifeCycleComponent
instances each related to a handle. Operations manipulating on theLifeCycleStatus
are invoked by thisConfigurableLifeCycleComponentHandle
with a handle identifying the according referencedConfigurableLifeCycleComponent
.The
ConfigurableLifeCycleComponent
contains the business-logic where as theConfigurableLifeCycleComponentHandle
provides the frame for managing this business-logic. TheLifeCycleComponentHandle.LifeCycleAutomatonHandle
takes care of the correct life-cycle applied on aConfigurableLifeCycleComponent
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
ConfigurableLifeCycleComponentHandle.ConfigurableLifeCycleAutomatonHandle<H,CTX>
TheConfigurableLifeCycleComponentHandle.ConfigurableLifeCycleAutomatonHandle
is an automaton managing variousLifeCycleStatus
states forComponent
instances each related to a handle.-
Nested classes/interfaces inherited from interface org.refcodes.component.ConfigurableHandle
ConfigurableHandle.ConfigureAutomatonHandle<H,CTX>
-
Nested classes/interfaces inherited from interface org.refcodes.component.DestroyableHandle
DestroyableHandle.DestroyAutomatonHandle<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.ConfigurableHandle
hasConfigurable, initialize, initializeUnchecked
-
Methods inherited from interface org.refcodes.component.DestroyableHandle
destroy, hasDestroyable
-
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
-
-