- Type Parameters:
H
- the generic type
- All Known Subinterfaces:
ComponentHandleComposite<H,
,REF> ConfigurableLifecycleComponentHandle.ConfigurableLifecycleAutomatonHandle<H,
,CTX> LifecycleComponentHandle.LifecycleAutomatonHandle<H>
public interface LifecycleStatusHandle<H>
The Interface LifecycleStatusHandle.
-
Method Summary
Modifier and TypeMethodDescriptiongetLifecycleStatus
(H aHandle) Retrieves theLifecycleStatus
related to the given handle.boolean
hasLifecycleStatus
(H aHandle) Determines whether the handle reference provides aLifecycleStatus
by implementing theLifecycleStatusAccessor
interface.
-
Method Details
-
hasLifecycleStatus
Determines whether the handle reference provides aLifecycleStatus
by implementing theLifecycleStatusAccessor
interface.- Parameters:
aHandle
- The handle to test whether the reference provides the according functionality.- Returns:
- True in case the reference provides the according functionality.
- Throws:
UnknownHandleRuntimeException
- in case the handle is unknown.
-
getLifecycleStatus
LifecycleStatus getLifecycleStatus(H aHandle) throws UnknownHandleRuntimeException, UnsupportedHandleOperationRuntimeException Retrieves theLifecycleStatus
related to the given handle. Determines in whichLifecycleStatus
status a component related to the given handle is in.- Parameters:
aHandle
- The handle for which to retrieve theLifecycleStatus
.- Returns:
- Returns the
LifecycleStatus
related to the given handle. - Throws:
UnknownHandleRuntimeException
- in case the given handle is unknown.UnsupportedHandleOperationRuntimeException
- in case the reference of the handle does not support the requested operation.
-