Package | Description |
---|---|
org.axonframework.commandhandling |
Classes that implement the concept of command handling using explicit command objects.
|
org.axonframework.commandhandling.annotation |
Classes that provide annotation support for command handling.
|
org.axonframework.commandhandling.disruptor | |
org.axonframework.commandhandling.distributed | |
org.axonframework.commandhandling.distributed.jgroups | |
org.axonframework.quickstart.handler | |
org.axonframework.test |
Classes in support of testing Axon based applications.
|
org.axonframework.test.utils |
A collection of classes which may prove useful when testing Axon-based classes.
|
Modifier and Type | Method and Description |
---|---|
<C> void |
CommandBus.subscribe(String commandName,
CommandHandler<? super C> handler)
Subscribe the given
handler to commands of type commandType . |
<T> void |
SimpleCommandBus.subscribe(String commandName,
CommandHandler<? super T> handler)
Subscribe the given
handler to commands of type commandType . |
<C> boolean |
CommandBus.unsubscribe(String commandName,
CommandHandler<? super C> handler)
Unsubscribe the given
handler to commands of type commandType . |
<T> boolean |
SimpleCommandBus.unsubscribe(String commandName,
CommandHandler<? super T> handler)
Unsubscribe the given
handler to commands of type commandType . |
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 | Class and Description |
---|---|
class |
AggregateAnnotationCommandHandler<T extends AggregateRoot>
Command handler that handles commands based on
CommandHandler
annotations on an aggregate. |
class |
AnnotationCommandHandlerAdapter
Adapter that turns any
@CommandHandler annotated bean into a CommandHandler implementation. |
Modifier and Type | Method and Description |
---|---|
protected Class<CommandHandler> |
AnnotationCommandHandlerBeanPostProcessor.getAdapterInterface() |
Modifier and Type | Method and Description |
---|---|
protected void |
AnnotationCommandHandlerBeanPostProcessor.subscribe(CommandHandler bean,
AnnotationCommandHandlerAdapter adapter) |
protected void |
AnnotationCommandHandlerBeanPostProcessor.unsubscribe(CommandHandler bean,
AnnotationCommandHandlerAdapter adapter) |
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.
|
<C> void |
DisruptorCommandBus.subscribe(String commandName,
CommandHandler<? super C> handler) |
<C> boolean |
DisruptorCommandBus.unsubscribe(String commandName,
CommandHandler<? super C> handler) |
Modifier and Type | Method and Description |
---|---|
<C> void |
DistributedCommandBus.subscribe(String commandName,
CommandHandler<? super C> handler)
Subscribe the given
handler to commands of type commandType . |
<C> void |
CommandBusConnector.subscribe(String commandName,
CommandHandler<? super C> handler)
Subscribe the given
handler to commands of type commandType to the local segment of the
command bus. |
<C> boolean |
DistributedCommandBus.unsubscribe(String commandName,
CommandHandler<? super C> handler)
Unsubscribe the given
handler to commands of type commandType . |
<C> boolean |
CommandBusConnector.unsubscribe(String commandName,
CommandHandler<? super C> handler)
Unsubscribe the given
handler to commands of type commandType . |
Modifier and Type | Method and Description |
---|---|
<C> void |
JGroupsConnector.subscribe(String commandName,
CommandHandler<? super C> handler) |
<C> boolean |
JGroupsConnector.unsubscribe(String commandName,
CommandHandler<? super C> handler) |
Modifier and Type | Class and Description |
---|---|
class |
CreateToDoCommandHandler |
class |
MarkCompletedCommandHandler |
Modifier and Type | Method and Description |
---|---|
FixtureConfiguration<T> |
GivenWhenThenTestFixture.registerCommandHandler(Class<?> payloadType,
CommandHandler commandHandler) |
FixtureConfiguration<T> |
FixtureConfiguration.registerCommandHandler(Class<?> payloadType,
CommandHandler commandHandler)
Registers a
commandHandler to handle commands of the given commandType with the
command bus used by this fixture. |
FixtureConfiguration<T> |
GivenWhenThenTestFixture.registerCommandHandler(String commandName,
CommandHandler commandHandler) |
FixtureConfiguration<T> |
FixtureConfiguration.registerCommandHandler(String commandName,
CommandHandler commandHandler)
Registers a
commandHandler to handle commands of the given commandType with the
command bus used by this fixture. |
Modifier and Type | Method and Description |
---|---|
Map<String,CommandHandler<?>> |
RecordingCommandBus.getSubscriptions()
Returns a Map will all Command Names and their Command Handler that have been subscribed to this command bus.
|
Modifier and Type | Method and Description |
---|---|
boolean |
RecordingCommandBus.isSubscribed(CommandHandler<?> commandHandler)
Indicates whether the given
commandHandler is subscribed to this command bus. |
<C> boolean |
RecordingCommandBus.isSubscribed(String commandName,
CommandHandler<? super C> commandHandler)
Indicates whether the given
commandHandler is subscribed to commands of the given
commandType on this command bus. |
<C> void |
RecordingCommandBus.subscribe(String commandName,
CommandHandler<? super C> handler) |
<C> boolean |
RecordingCommandBus.unsubscribe(String commandName,
CommandHandler<? super C> handler) |
Copyright © 2010-2014. All Rights Reserved.