|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use UnitOfWork | |
|---|---|
| org.axonframework.auditing | |
| 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.interceptors | Contains some useful implementations of interceptors that many application can benefit from. |
| org.axonframework.unitofwork | Classes in support of the UnitOfWork pattern in Axon Framework. |
| Uses of UnitOfWork in org.axonframework.auditing |
|---|
| Methods in org.axonframework.auditing with parameters of type UnitOfWork | |
|---|---|
Object |
AuditingInterceptor.handle(Object command,
UnitOfWork unitOfWork,
InterceptorChain chain)
|
| Uses of UnitOfWork in org.axonframework.commandhandling |
|---|
| Methods in org.axonframework.commandhandling with parameters of type UnitOfWork | |
|---|---|
Object |
CommandHandlerInterceptor.handle(Object command,
UnitOfWork unitOfWork,
InterceptorChain interceptorChain)
The handle method is invoked each time a command is dispatched through the event bus that the CommandHandlerInterceptor is declared on. |
Object |
CommandHandler.handle(T command,
UnitOfWork unitOfWork)
Handles the given command. |
| Uses of UnitOfWork in org.axonframework.commandhandling.annotation |
|---|
| Methods in org.axonframework.commandhandling.annotation with parameters of type UnitOfWork | |
|---|---|
Object |
AnnotationCommandHandlerAdapter.handle(Object command,
UnitOfWork unitOfWork)
Invokes the @CommandHandler annotated method that accepts the given command. |
| Uses of UnitOfWork in org.axonframework.commandhandling.interceptors |
|---|
| Methods in org.axonframework.commandhandling.interceptors with parameters of type UnitOfWork | |
|---|---|
Object |
TransactionInterceptor.handle(Object command,
UnitOfWork unitOfWork,
InterceptorChain interceptorChain)
|
Object |
LoggingInterceptor.handle(Object command,
UnitOfWork unitOfWork,
InterceptorChain chain)
|
| Uses of UnitOfWork in org.axonframework.unitofwork |
|---|
| Classes in org.axonframework.unitofwork that implement UnitOfWork | |
|---|---|
class |
AbstractUnitOfWork
Abstract implementation of the UnitOfWork interface. |
class |
DefaultUnitOfWork
Implementation of the UnitOfWork that buffers all published events until it is committed. |
| Methods in org.axonframework.unitofwork that return UnitOfWork | |
|---|---|
UnitOfWork |
UnitOfWorkFactory.createUnitOfWork()
Creates a new UnitOfWork instance. |
UnitOfWork |
DefaultUnitOfWorkFactory.createUnitOfWork()
|
static UnitOfWork |
CurrentUnitOfWork.get()
Gets the UnitOfWork bound to the current thread. |
static UnitOfWork |
DefaultUnitOfWork.startAndGet()
Starts a new DefaultUnitOfWork instance, registering it a CurrentUnitOfWork. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||