H
- The type of the handle.public interface CeasableHandle<H>
CeasableHandle
interface defines those methods related to the
handle based cease life-cycle.
The handle reference requires the Ceasable
interface to be
implemented.
Modifier and Type | Interface and Description |
---|---|
static interface |
CeasableHandle.CeaseAutomatonHandle<H>
The
CeasableHandle.CeaseAutomatonHandle interface defines those methods related
to the handle based cease life-cycle. |
Modifier and Type | Method and Description |
---|---|
void |
cease(H aHandle)
Ceases the component identified by the given handle.
|
boolean |
hasCeasable(H aHandle)
Determines whether the handle reference is ceasable by implementing the
Ceasable interface. |
boolean hasCeasable(H aHandle) throws UnknownHandleRuntimeException
Ceasable
interface.aHandle
- The handle to test whether the reference provides the
according functionality.UnknownHandleRuntimeException
- in case the handle is unknown.void cease(H aHandle) throws CeaseException, UnknownHandleRuntimeException, UnsupportedHandleOperationRuntimeException, IllegaleHandleStateChangeRuntimeException
aHandle
- The handle identifying the component.CeaseException
- in case ceasing fails.UnknownHandleRuntimeException
- in case the given handle is
unknown.UnsupportedHandleOperationRuntimeException
- in case the reference
of the handle does not support the requested operation.IllegaleHandleStateChangeRuntimeException
- Thrown in case a state
change is not possible due to the current state the referenced
component is in.Copyright © 2018. All rights reserved.