Package org.refcodes.component
Interface RunningHandle<H>
-
- Type Parameters:
H- The type of the handle.
- All Known Subinterfaces:
CompositeComponentHandle<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
RunningAccessorinterface to be implemented.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisRunning(H aHandle)Determines whether the component identified by the given handle is running (started or resumed).
-
-
-
Method Detail
-
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.
-
-