| Package | Description |
|---|---|
| org.axonframework.commandhandling |
Classes that implement the concept of command handling using explicit command objects.
|
| org.axonframework.eventhandling.async | |
| org.axonframework.eventhandling.scheduling.java | |
| org.axonframework.eventhandling.scheduling.quartz | |
| org.axonframework.unitofwork |
Classes in support of the UnitOfWork pattern in Axon Framework.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SimpleCommandBus.setUnitOfWorkFactory(UnitOfWorkFactory unitOfWorkFactory)
Sets the UnitOfWorkFactory that provides the UnitOfWork instances for handling incoming commands.
|
| Constructor and Description |
|---|
AsynchronousCluster(String name,
Executor executor,
UnitOfWorkFactory unitOfWorkFactory,
SequencingPolicy<? super EventMessage<?>> sequencingPolicy,
ErrorHandler errorHandler)
Creates an AsynchronousCluster implementation using the given
executor,
unitOfWorkFactory and sequencingPolicy. |
AsynchronousCluster(String name,
Executor executor,
UnitOfWorkFactory unitOfWorkFactory,
SequencingPolicy<? super EventMessage<?>> sequencingPolicy,
ErrorHandler errorHandler,
OrderResolver orderResolver)
Creates an AsynchronousCluster implementation using the given
executor,
unitOfWorkFactory and sequencingPolicy. |
EventProcessor(Executor executor,
EventProcessor.ShutdownCallback shutDownCallback,
ErrorHandler errorHandler,
UnitOfWorkFactory unitOfWorkFactory,
Set<EventListener> eventListeners,
MultiplexingEventProcessingMonitor eventProcessingMonitor)
Initialize a scheduler using the given
executor. |
| Constructor and Description |
|---|
SimpleEventScheduler(ScheduledExecutorService executorService,
EventBus eventBus,
UnitOfWorkFactory unitOfWorkFactory)
Initialize the SimpleEventScheduler using the given
executorService as trigger and execution
mechanism, and publishes events to the given eventBus. |
| Modifier and Type | Method and Description |
|---|---|
void |
QuartzEventScheduler.setUnitOfWorkFactory(UnitOfWorkFactory unitOfWorkFactory)
Sets the Unit of Work Factory instance which provides the UnitOfWork that manages the publication of the
scheduled event.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultUnitOfWorkFactory
UnitOfWorkFactory implementation that creates instances of the DefaultUnitOfWork. |
Copyright © 2010-2014. All Rights Reserved.