H
- The type of the handle.CTX
- the context used to initialize the referenced instance.public static interface ConfigurableHandle.ConfigureAutomatonHandle<H,CTX> extends ConfigurableHandle<H,CTX>, InitializedHandle<H>
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.ConfigurableHandle.ConfigureAutomatonHandle<H,CTX>
Modifier and Type | Method and Description |
---|---|
boolean |
hasConfigureAutomaton(H aHandle)
Determines whether the handle reference is configurable by
implementing the
Configurable.ConfigureAutomaton interface. |
boolean |
isInitalizable(H aHandle,
CTX aContext)
Determines whether the component identified by the given handle may
get initialized/configured.
|
hasConfigurable, initialize
isInitzialized
boolean hasConfigureAutomaton(H aHandle) throws UnknownHandleRuntimeException
Configurable.ConfigureAutomaton
interface.aHandle
- The handle to test whether the reference provides the
according functionality.UnknownHandleRuntimeException
- in case the handle is unknown.boolean isInitalizable(H aHandle, CTX aContext) throws UnknownHandleRuntimeException, UnsupportedHandleOperationRuntimeException
aHandle
- The handle identifying the component.aContext
- The context to be passed to the implementing
instance.ConfigurableHandle.initialize(Object, Object)
is possible.UnsupportedHandleOperationRuntimeException
- in case the
reference of the handle does not support the requested
operation.UnknownHandleRuntimeException
- in case the given handle is
unknown.Copyright © 2015. All rights reserved.