Spring Data Graph

org.springframework.data.neo4j.transaction
Class ChainedTransactionManager

java.lang.Object
  extended by org.springframework.data.neo4j.transaction.ChainedTransactionManager
All Implemented Interfaces:
PlatformTransactionManager

public class ChainedTransactionManager
extends Object
implements PlatformTransactionManager

Since:
14.02.11
Author:
mh

Constructor Summary
ChainedTransactionManager(PlatformTransactionManager... transactionManagers)
           
ChainedTransactionManager(SynchronizationManager synchronizationManager, PlatformTransactionManager... transactionManagers)
           
 
Method Summary
 void commit(TransactionStatus status)
           
 MultiTransactionStatus getTransaction(TransactionDefinition definition)
           
 void rollback(TransactionStatus status)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChainedTransactionManager

public ChainedTransactionManager(PlatformTransactionManager... transactionManagers)

ChainedTransactionManager

public ChainedTransactionManager(SynchronizationManager synchronizationManager,
                                 PlatformTransactionManager... transactionManagers)
Method Detail

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

Spring Data Graph

Copyright © 2011 SpringSource. All Rights Reserved.