|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use CommandCallback | |
---|---|
org.axonframework.commandhandling | Classes that implement the concept of command handling using explicit command objects. |
org.axonframework.commandhandling.callbacks | |
org.axonframework.commandhandling.disruptor | |
org.axonframework.commandhandling.distributed | |
org.axonframework.commandhandling.distributed.jgroups | |
org.axonframework.commandhandling.distributed.jgroups.support.callbacks | |
org.axonframework.commandhandling.gateway | |
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. |
Uses of CommandCallback in org.axonframework.commandhandling |
---|
Methods in org.axonframework.commandhandling with parameters of type CommandCallback | ||
---|---|---|
|
SimpleCommandBus.dispatch(CommandMessage<?> command,
CommandCallback<R> callback)
|
|
|
CommandBus.dispatch(CommandMessage<?> command,
CommandCallback<R> callback)
Dispatch the given command to the CommandHandler subscribed to that type of command . |
|
protected
|
SimpleCommandBus.doDispatch(CommandMessage<?> command,
CommandCallback<R> callback)
Performs the actual dispatching logic. |
|
protected
|
AsynchronousCommandBus.doDispatch(CommandMessage<?> command,
CommandCallback<R> callback)
|
Uses of CommandCallback in org.axonframework.commandhandling.callbacks |
---|
Classes in org.axonframework.commandhandling.callbacks that implement CommandCallback | |
---|---|
class |
FutureCallback<R>
Command Handler Callback that allows the dispatching thread to wait for the result of the callback, using the Future mechanism. |
class |
LoggingCallback
CommandCallback implementation that simply logs the results of a command. |
class |
NoOpCallback
Callback that does absolutely nothing when invoked. |
class |
VoidCallback
Abstract callback that can be extended when no result is expected from the command handler execution. |
Uses of CommandCallback in org.axonframework.commandhandling.disruptor |
---|
Classes in org.axonframework.commandhandling.disruptor that implement CommandCallback | |
---|---|
class |
BlacklistDetectingCallback<R>
Wrapper for command handler Callbacks that detects blacklisted aggregates and starts a cleanup process when an aggregate is blacklisted. |
Methods in org.axonframework.commandhandling.disruptor with parameters of type CommandCallback | ||
---|---|---|
|
DisruptorCommandBus.dispatch(CommandMessage<?> command,
CommandCallback<R> callback)
|
|
|
DisruptorCommandBus.doDispatch(CommandMessage command,
CommandCallback<R> callback)
Forces a dispatch of a command. |
Constructors in org.axonframework.commandhandling.disruptor with parameters of type CommandCallback | |
---|---|
BlacklistDetectingCallback(CommandCallback<R> delegate,
CommandMessage command,
com.lmax.disruptor.RingBuffer<CommandHandlingEntry> ringBuffer,
DisruptorCommandBus commandBus,
boolean rescheduleOnCorruptState)
Initializes the callback which allows the given command to be rescheduled on the given
ringBuffer if it failed due to a corrupt state. |
Uses of CommandCallback in org.axonframework.commandhandling.distributed |
---|
Methods in org.axonframework.commandhandling.distributed with parameters of type CommandCallback | ||
---|---|---|
|
DistributedCommandBus.dispatch(CommandMessage<?> command,
CommandCallback<R> callback)
Dispatch the given command to the CommandHandler subscribed to that type of command . |
|
|
CommandBusConnector.send(String routingKey,
CommandMessage<?> command,
CommandCallback<R> callback)
Sends the given command to the node assigned to handle messages with the given
routingKey . |
Uses of CommandCallback in org.axonframework.commandhandling.distributed.jgroups |
---|
Methods in org.axonframework.commandhandling.distributed.jgroups with parameters of type CommandCallback | ||
---|---|---|
|
JGroupsConnector.send(String routingKey,
CommandMessage<?> commandMessage,
CommandCallback<R> callback)
|
Uses of CommandCallback in org.axonframework.commandhandling.distributed.jgroups.support.callbacks |
---|
Classes in org.axonframework.commandhandling.distributed.jgroups.support.callbacks that implement CommandCallback | |
---|---|
class |
MemberAwareCommandCallback<R>
Callback implementation which wraps another callback, and is aware of the JGroups node responsible for providing the value to invoke the wrapped callback with. |
class |
ReplyingCallback
Callback implementation that forwards the callback invocation as a reply to an incoming message. |
Constructors in org.axonframework.commandhandling.distributed.jgroups.support.callbacks with parameters of type CommandCallback | |
---|---|
MemberAwareCommandCallback(org.jgroups.Address dest,
CommandCallback<R> callback)
Initialize the callback, where the given dest is responsible for providing the value to invoke the
given callback with. |
Uses of CommandCallback in org.axonframework.commandhandling.gateway |
---|
Classes in org.axonframework.commandhandling.gateway that implement CommandCallback | |
---|---|
class |
RetryingCallback<R>
Callback implementation that will invoke a retry scheduler if a command results in a runtime exception. |
Methods in org.axonframework.commandhandling.gateway with parameters of type CommandCallback | ||
---|---|---|
|
GatewayProxyFactory.registerCommandCallback(CommandCallback<R> callback)
Registers the callback , which is invoked for each sent command, unless Axon is able to detect that
the result of the command does not match the type accepted by the callback. |
|
|
DefaultCommandGateway.send(Object command,
CommandCallback<R> callback)
|
|
|
CommandGateway.send(Object command,
CommandCallback<R> callback)
Sends the given command , and have the result of the command's execution reported to the given
callback . |
|
protected
|
AbstractCommandGateway.send(Object command,
CommandCallback<R> callback)
Sends the given command , and invokes the callback when the command is processed. |
Method parameters in org.axonframework.commandhandling.gateway with type arguments of type CommandCallback | |
---|---|
void |
CommandGatewayFactoryBean.setCommandCallbacks(List<CommandCallback<?>> commandCallbacks)
Registers the commandCallbacks , which are invoked for each sent command, unless Axon is able to detect
that the result of the command does not match the type accepted by that callback. |
Constructors in org.axonframework.commandhandling.gateway with parameters of type CommandCallback | |
---|---|
RetryingCallback(CommandCallback<R> delegate,
CommandMessage commandMessage,
RetryScheduler retryScheduler,
CommandBus commandBus)
Initialize the RetryingCallback with the given delegate , representing the actual callback passed as
a parameter to dispatch, the given commandMessage , retryScheduler and
commandBus . |
Uses of CommandCallback in org.axonframework.test |
---|
Classes in org.axonframework.test that implement CommandCallback | |
---|---|
class |
ResultValidatorImpl
Implementation of the ResultValidator. |
Uses of CommandCallback in org.axonframework.test.utils |
---|
Methods in org.axonframework.test.utils with parameters of type CommandCallback | ||
---|---|---|
|
RecordingCommandBus.dispatch(CommandMessage<?> command,
CommandCallback<R> callback)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |