Package io.hekate.core.service
Interface ConfigurableService
-
- All Known Subinterfaces:
CoreService
public interface ConfigurableService
Lifecycle interface for services that require a one time configuration pre-processing.Service
s can implement this interface in order to perform a one time configuration pre-processing and validation. Theconfigure(ConfigurationContext)
method of this interface gets called only once by aHekate
instance right after the service getsconstructed
and its dependencies areresolved
. This method never gets called again even if node leaves and then rejoins the cluster.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
configure(ConfigurationContext ctx)
Configures this service.
-
-
-
Method Detail
-
configure
void configure(ConfigurationContext ctx)
Configures this service.- Parameters:
ctx
- Configuration context.
-
-