public static class SagaManagerBeanDefinitionParser.SagaManagerLifecycleManager extends Object implements org.springframework.context.SmartLifecycle
| Constructor and Description |
|---|
SagaManagerBeanDefinitionParser.SagaManagerLifecycleManager() |
| Modifier and Type | Method and Description |
|---|---|
int |
getPhase() |
boolean |
isAutoStartup() |
boolean |
isRunning() |
void |
setEventBus(EventBus eventBus)
Sets the event bus to which the SagaManager should be subscribed
|
void |
setSagaManager(SagaManager sagaManager)
Sets the SagaManager instance to subscribe to the Event Bus
|
void |
start() |
void |
stop() |
void |
stop(Runnable callback) |
public SagaManagerBeanDefinitionParser.SagaManagerLifecycleManager()
public void start()
start in interface org.springframework.context.Lifecyclepublic void stop()
stop in interface org.springframework.context.Lifecyclepublic boolean isRunning()
isRunning in interface org.springframework.context.Lifecyclepublic void setEventBus(EventBus eventBus)
eventBus - the event bus to which the SagaManager should be subscribedpublic void setSagaManager(SagaManager sagaManager)
sagaManager - the SagaManager instance to subscribe to the Event Buspublic boolean isAutoStartup()
isAutoStartup in interface org.springframework.context.SmartLifecyclepublic void stop(Runnable callback)
stop in interface org.springframework.context.SmartLifecyclepublic int getPhase()
getPhase in interface org.springframework.context.PhasedCopyright © 2010-2014. All Rights Reserved.