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.Lifecycle
public void stop()
stop
in interface org.springframework.context.Lifecycle
public boolean isRunning()
isRunning
in interface org.springframework.context.Lifecycle
public 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.SmartLifecycle
public void stop(Runnable callback)
stop
in interface org.springframework.context.SmartLifecycle
public int getPhase()
getPhase
in interface org.springframework.context.Phased
Copyright © 2010-2014. All Rights Reserved.