public interface UnitOfWorkExecutor
UnitOfWork
instances.Modifier and Type | Method and Description |
---|---|
<T> T |
executeUnitOfWork(UnitOfWork<T> work)
Executes the given
UnitOfWork in an implementation defined context and returns its result. |
<T> T executeUnitOfWork(UnitOfWork<T> work)
UnitOfWork
in an implementation defined context and returns its result.work
- a unit of work.UnitOfWork
.ExecutionError
- if UnitOfWork.execute()
threw an exception.Copyright © 2012-2013. All Rights Reserved.