public interface Initializable
This interface marks an initializable object. The initialize() method will be called
automatically when the injector cerates a new instance for dependency injection.
About the ibello dependency injection system, see hu.ibello.inject.
| Modifier and Type | Method and Description |
|---|---|
void |
initialize()
Intializes the injected instance.
|
default boolean |
isInitialized()
Was the instance already initialized?
|
void initialize()
isInitialized() returns true, then this method will NOT be called.default boolean isInitialized()
true if it was.
Otherwise an initialization with the initialize() method will be performed automatically.true if instance was initializedCreated by Kornél Simon, 2022