Interface StartableHandle.StartAutomatonHandle<H>

Type Parameters:
H - The type of the handle.
All Superinterfaces:
RunningHandle<H>, StartableHandle<H>
All Known Subinterfaces:
ComponentHandleComposite<H,REF>, ConfigurableLifecycleComponentHandle.ConfigurableLifecycleAutomatonHandle<H,CTX>, LifecycleComponentHandle.LifecycleAutomatonHandle<H>
Enclosing interface:
StartableHandle<H>

public static interface StartableHandle.StartAutomatonHandle<H> extends RunningHandle<H>, StartableHandle<H>
The 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.
  • Method Details

    • hasStartAutomaton

      boolean hasStartAutomaton(H aHandle)
      Determines whether the handle reference is startable by implementing the Startable.StartAutomaton interface.
      Parameters:
      aHandle - The handle to test whether the reference provides the according functionality.
      Returns:
      True in case the reference provides the according functionality.
      Throws:
      UnknownHandleRuntimeException - in case the handle is unknown.
    • isStartable

      boolean isStartable(H aHandle)
      Determines whether the component identified by the given handle may get started.
      Parameters:
      aHandle - The handle identifying the component.
      Returns:
      True if StartableHandle.start(Object) is possible.
      Throws:
      UnknownHandleRuntimeException - in case the given handle is unknown.
      UnsupportedHandleOperationRuntimeException - in case the reference of the handle does not support the requested operation.