Interface InitializableHandle.InitializeAutomatonHandle<H>

Type Parameters:
H - The type of the handle.
All Superinterfaces:
InitializableHandle<H>, InitializedHandle<H>
All Known Subinterfaces:
ComponentHandleComposite<H,REF>, LifecycleComponentHandle.LifecycleAutomatonHandle<H>
Enclosing interface:
InitializableHandle<H>

public static interface InitializableHandle.InitializeAutomatonHandle<H> extends InitializableHandle<H>, InitializedHandle<H>
The InitializableHandle.InitializeAutomatonHandle interface defines those methods related to the handle based initialize life-cycle. The handle reference requires the Initializable.InitializeAutomaton interface to be implemented.
  • Method Details

    • hasInitializeAutomaton

      boolean hasInitializeAutomaton(H aHandle)
      Determines whether the handle reference is initalizable by implementing the Initializable.InitializeAutomaton 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.
    • isInitalizable

      boolean isInitalizable(H aHandle)
      Determines whether the component identified by the given handle may get initialized.
      Parameters:
      aHandle - The handle identifying the component.
      Returns:
      True if InitializableHandle.initialize(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.