Interface ConfigurableHandle.ConfigureAutomatonHandle<H,CTX>

Type Parameters:
H - The type of the handle.
CTX - the context used to initialize the referenced instance.
All Superinterfaces:
ConfigurableHandle<H,CTX>, InitializedHandle<H>
All Known Subinterfaces:
ConfigurableLifecycleComponentHandle.ConfigurableLifecycleAutomatonHandle<H,CTX>
Enclosing interface:
ConfigurableHandle<H,CTX>

public static interface ConfigurableHandle.ConfigureAutomatonHandle<H,CTX> extends ConfigurableHandle<H,CTX>, InitializedHandle<H>
The ConfigurableHandle.ConfigureAutomatonHandle interface defines those methods related to the handle based initialize/configure life-cycle. The handle reference requires the Configurable.ConfigureAutomaton interface to be implemented.
  • Method Details

    • hasConfigureAutomaton

      boolean hasConfigureAutomaton(H aHandle)
      Determines whether the handle reference is configurable by implementing the Configurable.ConfigureAutomaton 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, CTX aContext)
      Determines whether the component identified by the given handle may get initialized/configured.
      Parameters:
      aHandle - The handle identifying the component.
      aContext - The context to be passed to the implementing instance.
      Returns:
      True if ConfigurableHandle.initialize(Object, 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.