H
- The type of the handle.public static interface StartableHandle.StartAutomatonHandle<H> extends RunningHandle<H>, StartableHandle<H>
StartableHandle.StartAutomatonHandle
interface defines those methods related
to the handle based start life-cycle.
The handle reference requires the Startable.StartAutomaton
interface to be
implemented.StartableHandle.StartAutomatonHandle<H>
Modifier and Type | Method and Description |
---|---|
boolean |
hasStartAutomaton(H aHandle)
Determines whether the handle reference is startable by implementing
the
Startable.StartAutomaton interface. |
boolean |
isStartable(H aHandle)
Determines whether the component identified by the given handle may
get started.
|
isRunning
hasStartable, start
boolean hasStartAutomaton(H aHandle) throws UnknownHandleRuntimeException
Startable.StartAutomaton
interface.aHandle
- The handle to test whether the reference provides the
according functionality.UnknownHandleRuntimeException
- in case the handle is unknown.boolean isStartable(H aHandle) throws UnknownHandleRuntimeException, UnsupportedHandleOperationRuntimeException
aHandle
- The handle identifying the component.StartableHandle.start(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.Copyright © 2015. All rights reserved.