- Type Parameters:
H
- The type of the handle.
- All Known Subinterfaces:
ComponentHandleComposite<H,
,REF> ConfigurableLifecycleComponentHandle.ConfigurableLifecycleAutomatonHandle<H,
,CTX> LifecycleComponentHandle.LifecycleAutomatonHandle<H>
,ResumableHandle.ResumeAutomatonHandle<H>
,StartableHandle.StartAutomatonHandle<H>
public interface RunningHandle<H>
Provides access to the running handle reference.
The handle reference requires the RunningAccessor
interface to be
implemented.
-
Method Summary
-
Method Details
-
isRunning
boolean isRunning(H aHandle) throws UnknownHandleRuntimeException, UnsupportedHandleOperationRuntimeException Determines whether the component identified by the given handle is running (started or resumed).- Parameters:
aHandle
- The handle identifying the component.- Returns:
- True in case of being running, else false.
- Throws:
UnknownHandleRuntimeException
- in case the given handle is unknown.UnsupportedHandleOperationRuntimeException
- in case the reference of the handle does not support the requested operation.
-