| Package | Description |
|---|---|
| org.axonframework.commandhandling |
Classes that implement the concept of command handling using explicit command objects.
|
| org.axonframework.commandhandling.disruptor | |
| org.axonframework.commandhandling.distributed | |
| org.axonframework.commandhandling.gateway | |
| org.axonframework.commandhandling.interceptors |
Contains some useful implementations of interceptors that many application can benefit from.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SimpleCommandBus.setDispatchInterceptors(List<? extends CommandDispatchInterceptor> dispatchInterceptors)
Registers the given list of dispatch interceptors to the command bus.
|
| Modifier and Type | Method and Description |
|---|---|
List<CommandDispatchInterceptor> |
DisruptorConfiguration.getDispatchInterceptors()
Returns the dispatch interceptors for the DisruptorCommandBus.
|
| Modifier and Type | Method and Description |
|---|---|
DisruptorConfiguration |
DisruptorConfiguration.setDispatchInterceptors(List<CommandDispatchInterceptor> dispatchInterceptors)
Configures the CommandDispatchInterceptor to use with the DisruptorCommandBus when commands are dispatched.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DistributedCommandBus.setCommandDispatchInterceptors(Collection<CommandDispatchInterceptor> newDispatchInterceptors)
Sets the interceptors that intercept commands just prior to dispatching them.
|
| Modifier and Type | Method and Description |
|---|---|
GatewayProxyFactory |
GatewayProxyFactory.registerDispatchInterceptor(CommandDispatchInterceptor dispatchInterceptor)
Registers the given
dispatchInterceptor which is invoked for each Command dispatched through the
Command Gateways created by this factory. |
void |
CommandGatewayFactoryBean.setCommandDispatchInterceptors(CommandDispatchInterceptor... commandDispatchInterceptors)
Sets the interceptors that should be invoked before a command is dispatched the the Command Bus.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CommandGatewayFactoryBean.setCommandDispatchInterceptors(List<CommandDispatchInterceptor> commandDispatchInterceptors)
Sets the interceptors that should be invoked before a command is dispatched the the Command Bus.
|
| Constructor and Description |
|---|
DefaultCommandGateway(CommandBus commandBus,
CommandDispatchInterceptor... commandDispatchInterceptors)
Initializes a command gateway that dispatches commands to the given
commandBus after they have been
handles by the given commandDispatchInterceptors. |
DefaultCommandGateway(CommandBus commandBus,
RetryScheduler retryScheduler,
CommandDispatchInterceptor... commandDispatchInterceptors)
Initializes a command gateway that dispatches commands to the given
commandBus after they have been
handles by the given commandDispatchInterceptors. |
GatewayProxyFactory(CommandBus commandBus,
CommandDispatchInterceptor... dispatchInterceptors)
Initialize the factory sending Commands to the given
commandBus, optionally intercepting them with
given dispatchInterceptors. |
GatewayProxyFactory(CommandBus commandBus,
RetryScheduler retryScheduler,
CommandDispatchInterceptor... commandDispatchInterceptors)
Initialize the factory sending Commands to the given
commandBus, optionally intercepting them with
given dispatchInterceptors. |
| Constructor and Description |
|---|
AbstractCommandGateway(CommandBus commandBus,
RetryScheduler retryScheduler,
List<CommandDispatchInterceptor> commandDispatchInterceptors)
Initialize the AbstractCommandGateway with given
commandBus, retryScheduler and
commandDispatchInterceptors. |
DefaultCommandGateway(CommandBus commandBus,
RetryScheduler retryScheduler,
List<CommandDispatchInterceptor> commandDispatchInterceptors)
Initializes a command gateway that dispatches commands to the given
commandBus after they have been
handles by the given commandDispatchInterceptors. |
GatewayProxyFactory(CommandBus commandBus,
RetryScheduler retryScheduler,
List<CommandDispatchInterceptor> commandDispatchInterceptors)
Initialize the factory sending Commands to the given
commandBus, optionally intercepting them with
given dispatchInterceptors. |
| Modifier and Type | Class and Description |
|---|---|
class |
BeanValidationInterceptor
Interceptor that applies JSR303 bean validation on incoming commands.
|
Copyright © 2010-2014. All Rights Reserved.