Class DefaultRetryClusterServiceLifecycleManager

java.lang.Object
com.broadleafcommerce.common.messaging.notification.DefaultRetryClusterServiceLifecycleManager
All Implemented Interfaces:
org.springframework.context.Lifecycle, org.springframework.context.Phased, org.springframework.context.SmartLifecycle

public class DefaultRetryClusterServiceLifecycleManager extends Object implements org.springframework.context.SmartLifecycle
Responsible for setting a late-phase requirement on all instances of RetryClusterService. Denotes that the Spring late lifecycle requirement for launching a RetryClusterService has been met. See RetryClusterServiceRequirementType.LATE_PHASE_SPRING.
  • Constructor Details

    • DefaultRetryClusterServiceLifecycleManager

      public DefaultRetryClusterServiceLifecycleManager(List<RetryClusterService> clusterServices)
  • Method Details

    • start

      public void start()
      Specified by:
      start in interface org.springframework.context.Lifecycle
    • stop

      public void stop()
      Specified by:
      stop in interface org.springframework.context.Lifecycle
    • isRunning

      public boolean isRunning()
      Specified by:
      isRunning in interface org.springframework.context.Lifecycle
    • getPhase

      public int getPhase()
      Specified by:
      getPhase in interface org.springframework.context.Phased
      Specified by:
      getPhase in interface org.springframework.context.SmartLifecycle