H
- The type of the handle.StoppableHandle<H>
CompositeComponentHandle<H,REF>
, ConfigurableLifeCycleComponentHandle.ConfigurableLifeCycleAutomatonHandle<H,CTX>
, LifeCycleComponentHandle.LifeCycleAutomatonHandle<H>
public static interface StoppableHandle.StopAutomatonHandle<H> extends StoppableHandle<H>
StoppableHandle.StopAutomatonHandle
interface defines those methods related
to the handle based stop life-cycle.
The handle reference requires the Stoppable.StopAutomaton
interface to be
implemented.StoppableHandle.StopAutomatonHandle<H>
Modifier and Type | Method | Description |
---|---|---|
boolean |
hasStopAutomaton(H aHandle) |
Determines whether the handle reference is stoppable by implementing
the
Stoppable.StopAutomaton interface. |
boolean |
isStoppable(H aHandle) |
Determines whether the component identified by the given handle may
get stopped.
|
boolean |
isStopped(H aHandle) |
Determines whether the component identified by the given handle is
stopped.
|
hasStoppable, stop, stopUnchecked
boolean hasStopAutomaton(H aHandle) throws UnknownHandleRuntimeException
Stoppable.StopAutomaton
interface.aHandle
- The handle to test whether the reference provides the
according functionality.UnknownHandleRuntimeException
- in case the handle is unknown.boolean isStoppable(H aHandle) throws UnknownHandleRuntimeException, UnsupportedHandleOperationRuntimeException
aHandle
- The handle identifying the component.StoppableHandle.stop(Object)
is possible.UnknownHandleRuntimeException
- in case the given handle is
unknown.UnsupportedHandleOperationRuntimeException
- in case the
reference of the handle does not support the requested
operation.boolean isStopped(H aHandle) throws UnknownHandleRuntimeException, UnsupportedHandleOperationRuntimeException
aHandle
- The handle identifying the component.UnknownHandleRuntimeException
- in case the given handle is
unknown.UnsupportedHandleOperationRuntimeException
- in case the
reference of the handle does not support the requested
operation.Copyright © 2018. All rights reserved.