public class SpringSagaConfigurer extends Object implements ConfigurerModule, org.springframework.context.ApplicationContextAware
ConfigurerModule
implementation that configures a Saga based on configuration found in the Application
Context.Constructor and Description |
---|
SpringSagaConfigurer(Class<?> sagaType)
Initialize the Saga for given
sagaType . |
Modifier and Type | Method and Description |
---|---|
void |
configureModule(Configurer configurer)
Configure this module to the given global
Configurer . |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
void |
setSagaStore(String sagaStore)
Sets the bean name of the
SagaStore to configure. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
order
public SpringSagaConfigurer(Class<?> sagaType)
sagaType
.sagaType
- The type of Saga to configure.public void setSagaStore(String sagaStore)
SagaStore
to configure.sagaStore
- the bean name of the SagaStore
to configure.public void configureModule(Configurer configurer)
ConfigurerModule
Configurer
.configureModule
in interface ConfigurerModule
configurer
- a Configurer
instance to configure this module withpublic void setApplicationContext(@Nonnull org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
org.springframework.beans.BeansException
Copyright © 2010–2023. All rights reserved.