| Modifier and Type | Method and Description |
|---|---|
<C extends Command,E extends Event> |
CommandBus.mapCommandHandler(Class<C> commandClass,
CommandHandler<S,C,E> commandHandler)
Map a command handler for a concrete command type.
|
| Constructor and Description |
|---|
UnsupportedCommandHandlerException(CommandHandler commandHandler) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
AsyncCommandHandler<S extends State,C extends Command,E extends Event>
Command handler that handles its command asynchronously.
|
interface |
AsyncMultiCommandHandler<S extends State,C extends Command,E extends Event>
Command handler that handles its command asynchronously and produces multiple events.
|
interface |
MultiCommandHandler<S extends State,C extends Command,E extends Event>
Base interface for a command handler that produces multiple events.
|
interface |
SyncCommandHandler<S extends State,C extends Command,E extends Event>
Command handler that handles its command synchronously.
|
interface |
SyncMultiCommandHandler<S extends State,C extends Command,E extends Event>
Command handler that handles its command synchronously and produces multiple events.
|
interface |
VoidCommandHandler<S extends State,C extends Command>
Command handler that does not return anything.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
DefaultCommandBus.executeCommandHandler(S state,
Command command,
CommandHandler<S,Command,Event> handler)
Execute a command handler that produces 0 or 1 event.
|
protected void |
DefaultCommandBus.executeHandler(Command command,
CommandHandler<S,Command,Event> commandHandler) |
<C extends Command,E extends Event> |
DefaultCommandBus.mapCommandHandler(Class<C> commandClass,
CommandHandler<S,C,E> commandHandler) |
| Modifier and Type | Method and Description |
|---|---|
<C extends Command,E extends Event> |
LaPasseFacade.mapCommandHandler(Class<C> commandClass,
CommandHandler<S,C,E> commandHandler) |
Copyright © 2016 Cooking Fox. All rights reserved.