public interface UnitOfWorkFactory
UnitOfWorkFactory
interface is used to obtain UnitOfWork instances to manage activity in command
handling processes.
All UnitOfWork instances returned by this factory have been started. It is the responsibility of the caller to
either
invoke commit or rollback on these instances when done.Modifier and Type | Method and Description |
---|---|
UnitOfWork |
createUnitOfWork()
Creates a new UnitOfWork instance.
|
UnitOfWork createUnitOfWork()
UnitOfWork.isStarted()
method returns
true
.Copyright © 2010-2014. All Rights Reserved.