Interface RegistrationLifecycle<R extends Registration>

All Superinterfaces:
org.springframework.core.Ordered
All Known Subinterfaces:
RegistrationManagementLifecycle<R>

public interface RegistrationLifecycle<R extends Registration> extends org.springframework.core.Ordered
Service registration life cycle. This life cycle is only related to Registration.
Author:
Zen Huifer
  • Field Details

  • Method Details

    • postProcessBeforeStartRegister

      void postProcessBeforeStartRegister(R registration)
      A method executed before registering the local service with the ServiceRegistry.
      Parameters:
      registration - registration
    • postProcessAfterStartRegister

      void postProcessAfterStartRegister(R registration)
      A method executed after registering the local service with the ServiceRegistry.
      Parameters:
      registration - registration
    • postProcessBeforeStopRegister

      void postProcessBeforeStopRegister(R registration)
      A method executed before de-registering the local service with the ServiceRegistry.
      Parameters:
      registration - registration
    • postProcessAfterStopRegister

      void postProcessAfterStopRegister(R registration)
      A method executed after de-registering the local service with the ServiceRegistry.
      Parameters:
      registration - registration
    • getOrder

      default int getOrder()
      Specified by:
      getOrder in interface org.springframework.core.Ordered