H
- The type of the handle.public static interface CeasableHandle.CeaseAutomatonHandle<H> extends CeasableHandle<H>
CeasableHandle.CeaseAutomatonHandle
interface defines those methods related
to the handle based cease life-cycle.
The handle reference requires the Ceasable.CeaseAutomaton
interface to be
implemented.CeasableHandle.CeaseAutomatonHandle<H>
Modifier and Type | Method and Description |
---|---|
boolean |
hasCeaseAutomaton(H aHandle)
Determines whether the handle reference is ceasable by implementing
the
Ceasable.CeaseAutomaton interface. |
boolean |
isCeasable(H aHandle)
Determines whether the component identified by the given handle may
get ceased.
|
boolean |
isCeased(H aHandle)
Determines whether the component identified by the given handle is
ceased.
|
cease, hasCeasable
boolean hasCeaseAutomaton(H aHandle) throws UnknownHandleRuntimeException
Ceasable.CeaseAutomaton
interface.aHandle
- The handle to test whether the reference provides the
according functionality.UnknownHandleRuntimeException
- in case the handle is unknown.boolean isCeasable(H aHandle) throws UnknownHandleRuntimeException, UnsupportedHandleOperationRuntimeException
aHandle
- The handle identifying the component.CeasableHandle.cease(Object)
is possible.UnsupportedHandleOperationRuntimeException
- in case the
reference of the handle does not support the requested
operation.UnknownHandleRuntimeException
- in case the given handle is
unknown.boolean isCeased(H aHandle) throws UnknownHandleRuntimeException, UnsupportedHandleOperationRuntimeException
aHandle
- The handle identifying the component.UnsupportedHandleOperationRuntimeException
- in case the
reference of the handle does not support the requested
operation.UnknownHandleRuntimeException
- in case the given handle is
unknown.Copyright © 2016. All rights reserved.