H
- The type of the handle.RunningHandle<H>
, StartableHandle<H>
CompositeComponentHandle<H,REF>
, ConfigurableLifeCycleComponentHandle.ConfigurableLifeCycleAutomatonHandle<H,CTX>
, LifeCycleComponentHandle.LifeCycleAutomatonHandle<H>
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 | 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, startUnchecked
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.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.