|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UnitOfWork
An object representing the unit of work processing an Exchange
which allows the use of Synchronization
hooks. This object might map one-to-one with
a transaction in JPA or Spring; or might not.
Method Summary | |
---|---|
void |
addSynchronization(Synchronization synchronization)
Adds a synchronization hook |
void |
done(Exchange exchange)
Invoked when this unit of work has been completed, whether it has failed or completed |
void |
removeSynchronization(Synchronization synchronization)
Removes a synchronization hook |
Method Detail |
---|
void addSynchronization(Synchronization synchronization)
synchronization
- void removeSynchronization(Synchronization synchronization)
synchronization
- void done(Exchange exchange)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |