public interface Initializable
In case a context is to be provided to the initialize()
method, you
may use the Configurable
interface with its
Configurable.initialize(Object)
method, which provides an argument
specifying the context to be passed to the Component
.
Modifier and Type | Interface and Description |
---|---|
static interface |
Initializable.InitializeAutomaton
The
Initializable.InitializeAutomaton interface defines those methods related
to the initialize life-cycle. |
static interface |
Initializable.InitializeBuilder<B extends Initializable.InitializeBuilder<B>>
To enable the
Initializable functionality to be invoked in a
builder chain. |
static interface |
Initializable.UncheckedInitializable
See
Initializable without any checked exception being declared. |
Modifier and Type | Method and Description |
---|---|
void |
initialize()
Initialize the component.
|
void initialize() throws InitializeException
InitializeException
- Thrown in case initializing fails.Copyright © 2017. All rights reserved.