Package org.axonframework.commandhandling

Classes that implement the concept of command handling using explicit command objects.

See:
          Description

Interface Summary
CommandBus The mechanism that dispatches Command objects to their appropriate CommandHandler.
CommandCallback<R> Interface describing a callback that is invoked when command handler execution has finished.
CommandDispatchInterceptor Interceptor that allows commands to be intercepted and modified before they are dispatched by the Command Bus.
CommandHandler<T> Marks an instance that is capable of handling commands.
CommandHandlerInterceptor Workflow interface that allows for customized command handler invocation chains.
CommandMessage<T> Represents a Message carrying a command as its payload.
CommandTargetResolver Interface towards a mechanism that is capable of extracting an Aggregate Identifier and Version form a command that identifies the aggregate instance the command should be invoked on.
InterceptorChain The interceptor chain manages the flow of a command through a chain of interceptors and ultimately to the command handler.
RollbackConfiguration The RollbackConfiguration defines when a UnitOfWork should be rolled back when the command handler or any interceptors reported a failure.
SimpleCommandBusStatisticsMXBean Management interface for the SimpleCommandBus monitor

As required by the JMX specification.

 

Class Summary
AsynchronousCommandBus Specialization of the SimpleCommandBus that processed Commands asynchronously from the calling thread.
DefaultInterceptorChain Mechanism that takes care of interceptor and event handler execution.
GenericCommandMessage<T> Implementation of the CommandMessage that takes all properties as constructor parameters.
MetaDataCommandTargetResolver CommandTargetResolver implementation that uses MetaData entries to extract the identifier and optionally the version of the aggregate that the command targets.
RollbackOnAllExceptionsConfiguration The default implementation of the RollbackConfiguration interface.
RollbackOnUncheckedExceptionConfiguration RollbackConfiguration that indicates a rollback should be triggered for all but checked exceptions.
SimpleCommandBus Implementation of the CommandBus that dispatches commands to the handlers subscribed to that specific type of command.
SimpleCommandBusStatistics Statistics object to store information about the internals of the SimpleCommandBus.
VersionedAggregateIdentifier Structure that holds an Aggregate Identifier and an expected version of an aggregate.
 

Exception Summary
CommandExecutionException Indicates that an exception has occurred while handling a command.
NoHandlerForCommandException Exception indicating that no suitable handler could be found for the given command.
StructuralCommandValidationFailedException Exception indicating that a Command has been refused due to a structural validation failure.
 

Package org.axonframework.commandhandling Description

Classes that implement the concept of command handling using explicit command objects.



Copyright © 2010-2016. All Rights Reserved.