public interface UnitOfWorkCallback
UnitOfWork.addUnitOfWorkCallback(UnitOfWorkCallback).
If Entities implement this interface they will also receive invocations of this callback interface.| Modifier and Type | Interface and Description |
|---|---|
static class |
UnitOfWorkCallback.UnitOfWorkStatus |
| Modifier and Type | Method and Description |
|---|---|
void |
afterCompletion(UnitOfWorkCallback.UnitOfWorkStatus status)
This is called after the completion or discarding
of the UnitOfWork.
|
void |
beforeCompletion()
This is called before the completion of the UnitOfWork.
|
void beforeCompletion()
throws UnitOfWorkCompletionException
UnitOfWorkCompletionExceptionvoid afterCompletion(UnitOfWorkCallback.UnitOfWorkStatus status)
status -