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.-
Field Summary
Fields inherited from interface org.springframework.context.SmartLifecycle
DEFAULT_PHASE -
Constructor Summary
ConstructorsConstructorDescriptionDefaultRetryClusterServiceLifecycleManager(List<RetryClusterService> clusterServices) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.context.SmartLifecycle
isAutoStartup, stop
-
Constructor Details
-
DefaultRetryClusterServiceLifecycleManager
-
-
Method Details
-
start
public void start()- Specified by:
startin interfaceorg.springframework.context.Lifecycle
-
stop
public void stop()- Specified by:
stopin interfaceorg.springframework.context.Lifecycle
-
isRunning
public boolean isRunning()- Specified by:
isRunningin interfaceorg.springframework.context.Lifecycle
-
getPhase
public int getPhase()- Specified by:
getPhasein interfaceorg.springframework.context.Phased- Specified by:
getPhasein interfaceorg.springframework.context.SmartLifecycle
-