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 Summary

    Modifier and Type
    Method
    Description
    default int
    Specifies the execution order of the service.
    default boolean
    true if the service is critical
    void
    Executes the early initialization service.
  • 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