|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.axonframework.unitofwork.DefaultUnitOfWorkFactory
public class DefaultUnitOfWorkFactory
UnitOfWorkFactory implementation that creates instances of the DefaultUnitOfWork.
| Constructor Summary | |
|---|---|
DefaultUnitOfWorkFactory()
Initializes the Unit of Work Factory to create Unit of Work that are not bound to any transaction. |
|
DefaultUnitOfWorkFactory(TransactionManager transactionManager)
Initializes the factory to create Unit of Work bound to transactions managed by the given transactionManager |
|
| Method Summary | |
|---|---|
UnitOfWork |
createUnitOfWork()
Creates a new UnitOfWork instance. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultUnitOfWorkFactory()
public DefaultUnitOfWorkFactory(TransactionManager transactionManager)
transactionManager
transactionManager - The transaction manager to manage the transactions for Unit Of Work created by this
factory| Method Detail |
|---|
public UnitOfWork createUnitOfWork()
UnitOfWorkFactoryUnitOfWork.isStarted() method returns
true.
createUnitOfWork in interface UnitOfWorkFactory
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||