@Configuration public class AxonConfiguration extends Object implements org.axonframework.config.Configuration
| Modifier and Type | Class and Description |
|---|---|
class |
AxonConfiguration.ConfigurationLifecycle |
| Constructor and Description |
|---|
AxonConfiguration(org.axonframework.config.Configuration config) |
| Modifier and Type | Method and Description |
|---|---|
org.axonframework.commandhandling.CommandBus |
commandBus() |
AxonConfiguration.ConfigurationLifecycle |
configurationLifecycle() |
List<org.axonframework.messaging.correlation.CorrelationDataProvider> |
correlationDataProviders() |
org.axonframework.eventhandling.EventBus |
eventBus() |
<T> T |
getComponent(Class<T> componentType,
Supplier<T> defaultImpl) |
<M extends org.axonframework.messaging.Message<?>> |
messageMonitor(Class<?> componentType,
String componentName) |
<T> org.axonframework.commandhandling.model.Repository<T> |
repository(Class<T> aggregate) |
void |
shutdown() |
void |
start() |
public AxonConfiguration(org.axonframework.config.Configuration config)
@Bean public org.axonframework.commandhandling.CommandBus commandBus()
commandBus in interface org.axonframework.config.Configuration@Bean public org.axonframework.eventhandling.EventBus eventBus()
eventBus in interface org.axonframework.config.Configuration@Bean public AxonConfiguration.ConfigurationLifecycle configurationLifecycle()
public <T> org.axonframework.commandhandling.model.Repository<T> repository(Class<T> aggregate)
repository in interface org.axonframework.config.Configurationpublic <T> T getComponent(Class<T> componentType, Supplier<T> defaultImpl)
getComponent in interface org.axonframework.config.Configurationpublic <M extends org.axonframework.messaging.Message<?>> org.axonframework.monitoring.MessageMonitor<? super M> messageMonitor(Class<?> componentType, String componentName)
messageMonitor in interface org.axonframework.config.Configurationpublic void start()
start in interface org.axonframework.config.Configurationpublic void shutdown()
shutdown in interface org.axonframework.config.Configurationpublic List<org.axonframework.messaging.correlation.CorrelationDataProvider> correlationDataProviders()
correlationDataProviders in interface org.axonframework.config.ConfigurationCopyright © 2010–2016. All rights reserved.