Package | Description |
---|---|
org.axonframework.auditing | |
org.axonframework.commandhandling |
Classes that implement the concept of command handling using explicit command objects.
|
org.axonframework.commandhandling.disruptor | |
org.axonframework.commandhandling.distributed.jgroups | |
org.axonframework.commandhandling.interceptors |
Contains some useful implementations of interceptors that many application can benefit from.
|
Modifier and Type | Class and Description |
---|---|
class |
AuditingInterceptor
Interceptor that keeps track of commands and the events that were dispatched as a result of handling that command.
|
Modifier and Type | Method and Description |
---|---|
void |
SimpleCommandBus.setHandlerInterceptors(List<? extends CommandHandlerInterceptor> handlerInterceptors)
Registers the given list of interceptors to the command bus.
|
Constructor and Description |
---|
DefaultInterceptorChain(CommandMessage<?> command,
UnitOfWork unitOfWork,
CommandHandler<?> handler,
Iterable<? extends CommandHandlerInterceptor> chain)
Initialize the default interceptor chain to dispatch the given
command , through the
chain , to the handler . |
Modifier and Type | Method and Description |
---|---|
List<CommandHandlerInterceptor> |
DisruptorConfiguration.getInvokerInterceptors()
Returns the interceptors for the DisruptorCommandBus.
|
List<CommandHandlerInterceptor> |
DisruptorConfiguration.getPublisherInterceptors()
Returns the interceptors for the DisruptorCommandBus.
|
Modifier and Type | Method and Description |
---|---|
void |
CommandHandlingEntry.reset(CommandMessage<?> newCommand,
CommandHandler newCommandHandler,
int newInvokerSegmentId,
int newPublisherSegmentId,
int newSerializerSegmentId,
BlacklistDetectingCallback newCallback,
List<CommandHandlerInterceptor> invokerInterceptors,
List<CommandHandlerInterceptor> publisherInterceptors)
Resets this entry, preparing it for use for another command.
|
void |
CommandHandlingEntry.reset(CommandMessage<?> newCommand,
CommandHandler newCommandHandler,
int newInvokerSegmentId,
int newPublisherSegmentId,
int newSerializerSegmentId,
BlacklistDetectingCallback newCallback,
List<CommandHandlerInterceptor> invokerInterceptors,
List<CommandHandlerInterceptor> publisherInterceptors)
Resets this entry, preparing it for use for another command.
|
DisruptorConfiguration |
DisruptorConfiguration.setInvokerInterceptors(List<CommandHandlerInterceptor> invokerInterceptors)
Configures the CommandHandlerInterceptors to use with the DisruptorCommandBus during in the invocation thread.
|
DisruptorConfiguration |
DisruptorConfiguration.setPublisherInterceptors(List<CommandHandlerInterceptor> publisherInterceptors)
Configures the CommandHandlerInterceptors to use with the DisruptorCommandBus during the publication of changes.
|
Modifier and Type | Method and Description |
---|---|
void |
JGroupsConnectorFactoryBean.setInterceptors(List<CommandHandlerInterceptor> interceptors)
Sets the interceptor to use in the default local segment (a SimpleCommandBus).
|
Modifier and Type | Class and Description |
---|---|
class |
BeanValidationInterceptor
Interceptor that applies JSR303 bean validation on incoming commands.
|
class |
LoggingInterceptor
Command Handler Interceptor that logs incoming commands and their result to a SLF4J logger.
|
class |
SerializationOptimizingInterceptor
Interceptor that register a unit of work listener that wraps each EventMessage in a SerializationAware message.
|
Copyright © 2010-2014. All Rights Reserved.