Interface IEarlyInitializationService
public interface IEarlyInitializationService
Interface for Early Initialization Services.
Classes implementing this interface are responsible for executing tasks
before the Spring Application Context is launched.
-
Method Details
-
process
void process()Executes the early initialization service. Implementing classes should provide the logic to be executed before the Spring Application Context is initialized. -
getOrder
default int getOrder()Specifies the execution order of the service.- Returns:
- the execution order; lower values indicate earlier execution
-
isCriticalService
default boolean isCriticalService()true if the service is critical- Returns:
- true if the service is critical
-