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>
The
ConfigurableLifecycleComponentHandle manages various
LifecycleStatus states for ConfigurableLifecycleComponent
instances each related to a handle. Operations manipulating on the
LifecycleStatus are invoked by this
ConfigurableLifecycleComponentHandle with a handle identifying the
according referenced ConfigurableLifecycleComponent.
The ConfigurableLifecycleComponent contains the business-logic where
as the ConfigurableLifecycleComponentHandle provides the frame for
managing this business-logic. The LifecycleComponentHandle.LifecycleAutomatonHandle takes care
of the correct life-cycle applied on a ConfigurableLifecycleComponent
.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceTheConfigurableLifecycleComponentHandle.ConfigurableLifecycleAutomatonHandleis an automaton managing variousLifecycleStatusstates forComponentinstances each related to a handle.Nested classes/interfaces inherited from interface ConfigurableHandle
ConfigurableHandle.ConfigureAutomatonHandle<H,CTX> Nested classes/interfaces inherited from interface DestroyableHandle
DestroyableHandle.DestroyAutomatonHandle<H>Nested classes/interfaces inherited from interface PausableHandle
PausableHandle.PauseAutomatonHandle<H>Nested classes/interfaces inherited from interface ResumableHandle
ResumableHandle.ResumeAutomatonHandle<H>Nested classes/interfaces inherited from interface StartableHandle
StartableHandle.StartAutomatonHandle<H>Nested classes/interfaces inherited from interface StoppableHandle
StoppableHandle.StopAutomatonHandle<H> -
Method Summary
Methods inherited from interface ConfigurableHandle
hasConfigurable, initialize, initializeUncheckedMethods inherited from interface DestroyableHandle
destroy, hasDestroyableMethods inherited from interface PausableHandle
hasPausable, pause, pauseUncheckedMethods inherited from interface ResumableHandle
hasResumable, resume, resumeUncheckedMethods inherited from interface StartableHandle
hasStartable, start, startUncheckedMethods inherited from interface StoppableHandle
hasStoppable, stop, stopUnchecked