- get
Gets the UnitOfWork bound to the current thread. If no UnitOfWork has been
started, an IllegalStateE
- isStarted
Indicates whether a unit of work has already been started. This method can be
used by interceptors t
- clear
Clears the UnitOfWork currently bound to the current thread, if that UnitOfWork
is the given unitOfW
- map
If a Unit of Work is started, execute the given function on it. Otherwise,
returns an empty Optional
- set
Binds the given unitOfWork to the current thread. If other UnitOfWork instances
were bound, they wil
- correlationData
Returns the Correlation Data attached to the current Unit of Work, or an empty
MetaData instance if
- ifStarted
If a UnitOfWork is started, invokes the given consumer with the active Unit of
Work. Otherwise, it d
- isEmpty