|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UnitOfWorkFactory
Factory for UnitOfWork.
Method Summary | |
---|---|
UnitOfWork |
currentUnitOfWork()
Returns the UnitOfWork that is currently associated with the executing thread. |
UnitOfWork |
getUnitOfWork(EntityComposite entity)
Returns the UnitOfWork that the EntityComposite is bound to. |
UnitOfWork |
newUnitOfWork()
Create a new UnitOfWork and associate it with the current thread. |
UnitOfWork |
newUnitOfWork(Usecase usecase)
Create a new UnitOfWork for the given Usecase and associate it with the current thread. |
Method Detail |
---|
UnitOfWork newUnitOfWork()
UnitOfWork newUnitOfWork(Usecase usecase)
usecase
- the Usecase for this UnitOfWork
UnitOfWork currentUnitOfWork()
UnitOfWork getUnitOfWork(EntityComposite entity)
entity
- the entity to be checked.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |