org.springframework.data.neo4j.transaction
Class ChainedTransactionManager
java.lang.Object
org.springframework.data.neo4j.transaction.ChainedTransactionManager
- All Implemented Interfaces:
- PlatformTransactionManager
public class ChainedTransactionManager
- extends Object
- implements PlatformTransactionManager
- Since:
- 14.02.11
- Author:
- mh
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChainedTransactionManager
public ChainedTransactionManager(PlatformTransactionManager... transactionManagers)
ChainedTransactionManager
public ChainedTransactionManager(SynchronizationManager synchronizationManager,
PlatformTransactionManager... transactionManagers)
getTransaction
public MultiTransactionStatus getTransaction(TransactionDefinition definition)
throws TransactionException
- Specified by:
getTransaction
in interface PlatformTransactionManager
- Throws:
TransactionException
commit
public void commit(TransactionStatus status)
throws TransactionException
- Specified by:
commit
in interface PlatformTransactionManager
- Throws:
TransactionException
rollback
public void rollback(TransactionStatus status)
throws TransactionException
- Specified by:
rollback
in interface PlatformTransactionManager
- Throws:
TransactionException
Copyright © 2011 SpringSource. All Rights Reserved.