CTX
- the context used to initialize the implementing instance.public interface Configurable<CTX>
initialize(Object)
.
In case a no context is to be provided to the initialize(Object)
method (as it may have been passed via the constructor), you may use the
Initializable
interface with its Initializable.initialize()
method, which does not require any arguments specifying a context.
Modifier and Type | Interface and Description |
---|---|
static interface |
Configurable.ConfigureAutomaton<CTX>
The
Configurable.ConfigureAutomaton interface defines those methods related to
the initialize life-cycle with a provided context. |
static interface |
Configurable.ConfigureBuilder<CTX,B extends Configurable.ConfigureBuilder<CTX,B>>
To enable the
Initializable functionality to be invoked in a
builder chain. |
Modifier and Type | Method and Description |
---|---|
void |
initialize(CTX aContext)
Initializes and configures the component.
|
void initialize(CTX aContext) throws ConfigureException
CTX
- the context used to initialize the implementing instance.aContext
- The context to be passed to the implementing instance.ConfigureException
- Thrown in case initializing fails.Copyright © 2016. All rights reserved.