com.atlassian.bamboo.v2.build.agent
Class GeronimoPlatformTransactionManager

java.lang.Object
  extended by org.apache.geronimo.transaction.manager.TransactionManagerImpl
      extended by org.apache.geronimo.transaction.manager.GeronimoTransactionManager
          extended by com.atlassian.bamboo.v2.build.agent.GeronimoPlatformTransactionManager
All Implemented Interfaces:
java.util.EventListener, javax.resource.spi.XATerminator, javax.transaction.TransactionManager, javax.transaction.TransactionSynchronizationRegistry, javax.transaction.UserTransaction, org.apache.geronimo.transaction.manager.MonitorableTransactionManager, org.apache.geronimo.transaction.manager.RecoverableTransactionManager, org.apache.geronimo.transaction.manager.XAWork, org.apache.geronimo.transaction.manager.XidImporter, org.springframework.transaction.PlatformTransactionManager

public class GeronimoPlatformTransactionManager
extends org.apache.geronimo.transaction.manager.GeronimoTransactionManager
implements org.springframework.transaction.PlatformTransactionManager


Field Summary
 
Fields inherited from class org.apache.geronimo.transaction.manager.TransactionManagerImpl
DEFAULT_TIMEOUT, DEFAULT_TM_ID
 
Constructor Summary
GeronimoPlatformTransactionManager()
           
GeronimoPlatformTransactionManager(int defaultTransactionTimeoutSeconds)
           
GeronimoPlatformTransactionManager(int defaultTransactionTimeoutSeconds, org.apache.geronimo.transaction.manager.TransactionLog transactionLog)
           
GeronimoPlatformTransactionManager(int defaultTransactionTimeoutSeconds, org.apache.geronimo.transaction.manager.XidFactory xidFactory)
           
GeronimoPlatformTransactionManager(int defaultTransactionTimeoutSeconds, org.apache.geronimo.transaction.manager.XidFactory xidFactory, org.apache.geronimo.transaction.manager.TransactionLog transactionLog)
           
 
Method Summary
 void commit(org.springframework.transaction.TransactionStatus status)
           
 org.springframework.transaction.TransactionStatus getTransaction(org.springframework.transaction.TransactionDefinition definition)
           
protected  void registerTransactionAssociationListener()
           
 void rollback(org.springframework.transaction.TransactionStatus status)
           
 
Methods inherited from class org.apache.geronimo.transaction.manager.GeronimoTransactionManager
begin, commit, end, forget, prepare, recover, rollback
 
Methods inherited from class org.apache.geronimo.transaction.manager.TransactionManagerImpl
addTransactionAssociationListener, begin, begin, commit, commit, fireThreadAssociated, fireThreadUnassociated, forget, getActiveCount, getExternalXids, getResource, getRollbackOnly, getStatus, getTotalCommits, getTotalRollbacks, getTransaction, getTransactionKey, getTransactionStatus, importXid, prepare, putResource, recoveryError, registerInterposedSynchronization, registerNamedXAResourceFactory, removeTransactionAssociationListener, resetStatistics, resume, rollback, rollback, setRollbackOnly, setTransactionTimeout, suspend, unregisterNamedXAResourceFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeronimoPlatformTransactionManager

public GeronimoPlatformTransactionManager()
                                   throws javax.transaction.xa.XAException
Throws:
javax.transaction.xa.XAException

GeronimoPlatformTransactionManager

public GeronimoPlatformTransactionManager(int defaultTransactionTimeoutSeconds)
                                   throws javax.transaction.xa.XAException
Throws:
javax.transaction.xa.XAException

GeronimoPlatformTransactionManager

public GeronimoPlatformTransactionManager(int defaultTransactionTimeoutSeconds,
                                          org.apache.geronimo.transaction.manager.TransactionLog transactionLog)
                                   throws javax.transaction.xa.XAException
Throws:
javax.transaction.xa.XAException

GeronimoPlatformTransactionManager

public GeronimoPlatformTransactionManager(int defaultTransactionTimeoutSeconds,
                                          org.apache.geronimo.transaction.manager.XidFactory xidFactory,
                                          @Nullable
                                          org.apache.geronimo.transaction.manager.TransactionLog transactionLog)
                                   throws javax.transaction.xa.XAException
Throws:
javax.transaction.xa.XAException

GeronimoPlatformTransactionManager

public GeronimoPlatformTransactionManager(int defaultTransactionTimeoutSeconds,
                                          org.apache.geronimo.transaction.manager.XidFactory xidFactory)
                                   throws javax.transaction.xa.XAException
Throws:
javax.transaction.xa.XAException
Method Detail

getTransaction

public org.springframework.transaction.TransactionStatus getTransaction(org.springframework.transaction.TransactionDefinition definition)
                                                                 throws org.springframework.transaction.TransactionException
Specified by:
getTransaction in interface org.springframework.transaction.PlatformTransactionManager
Throws:
org.springframework.transaction.TransactionException

commit

public void commit(org.springframework.transaction.TransactionStatus status)
            throws org.springframework.transaction.TransactionException
Specified by:
commit in interface org.springframework.transaction.PlatformTransactionManager
Throws:
org.springframework.transaction.TransactionException

rollback

public void rollback(org.springframework.transaction.TransactionStatus status)
              throws org.springframework.transaction.TransactionException
Specified by:
rollback in interface org.springframework.transaction.PlatformTransactionManager
Throws:
org.springframework.transaction.TransactionException

registerTransactionAssociationListener

protected void registerTransactionAssociationListener()


Copyright © 2012 Atlassian. All Rights Reserved.