H - The type of the handle.CTX - The context used to initialize the referenced instance.public interface ConfigurableHandle<H,CTX>
ConfigurableHandle interface defines those methods related to the
handle based initialize/configure life-cycle.
The handle reference requires the Configurable interface to be
implemented.
| Modifier and Type | Interface and Description |
|---|---|
static interface |
ConfigurableHandle.ConfigureAutomatonHandle<H,CTX>
The
ConfigurableHandle.ConfigureAutomatonHandle interface defines those methods
related to the handle based initialize/configure life-cycle. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasConfigurable(H aHandle)
Determines whether the handle reference is configurable by implementing
the
Configurable interface. |
void |
initialize(H aHandle,
CTX aContext)
Initialize/configure the component identified by the given handle.
|
boolean hasConfigurable(H aHandle) throws UnknownHandleRuntimeException
Configurable interface.aHandle - The handle to test whether the reference provides the
according functionality.UnknownHandleRuntimeException - in case the handle is unknown.void initialize(H aHandle, CTX aContext) throws ConfigureException, UnknownHandleRuntimeException, UnsupportedHandleOperationRuntimeException, IllegaleHandleStateChangeRuntimeException
aContext - The context to be passed to the implementing instance.aHandle - The handle identifying the component.ConfigureException - in case initializing fails.UnsupportedHandleOperationRuntimeException - in case the reference
of the handle does not support the requested operation.UnknownHandleRuntimeException - in case the given handle is
unknown.IllegaleHandleStateChangeRuntimeException - Thrown in case a state
change is not possible due to the current state the referenced
component is in.Copyright © 2017. All rights reserved.