public interface SeedInitializer
This interface defines methods that are called at various stages of the SeedStack JVM initialization and shutdown
process. Implementations must be declared as a ServiceLoader
service in META-INF/services to be
detected.
Classes implementing this interface can be annotated with Priority
to specify an
absolute order among them.
A single instance of each implementation is created and using throughout the whole lifecycle.
Modifier and Type | Method and Description |
---|---|
void |
afterInitialization()
Called after SeedStack initialization has been completed.
|
void |
afterRefresh()
Called after SeedStack refresh has been completed.
|
void |
beforeInitialization()
Called before SeedStack initialization.
|
void |
onClose()
Called at explicit SeedStack global state cleanup.
|
void |
onInitialization(Coffig configuration)
Called during SeedStack initialization, just after base configuration has been made available.
|
void beforeInitialization()
void onInitialization(Coffig configuration)
configuration
- the base configuration.void afterInitialization()
void afterRefresh()
void onClose()
Copyright © 2013-2018–2019 SeedStack. All rights reserved.