org.apache.geronimo.transaction.manager
Class GeronimoTransactionManager
java.lang.Object
org.apache.geronimo.transaction.manager.TransactionManagerImpl
org.apache.geronimo.transaction.manager.GeronimoTransactionManager
- All Implemented Interfaces:
- EventListener, XATerminator, TransactionManager, TransactionSynchronizationRegistry, UserTransaction, MonitorableTransactionManager, RecoverableTransactionManager, XAWork, XidImporter
public class GeronimoTransactionManager
- extends TransactionManagerImpl
- implements XATerminator, XAWork
- Version:
- $Rev: 550546 $ $Date: 2007-06-25 12:52:11 -0400 (Mon, 25 Jun 2007) $
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, recoverResourceManager, recoveryError, registerInterposedSynchronization, removeTransactionAssociationListener, resetStatistics, resume, rollback, rollback, setRollbackOnly, setTransactionTimeout, suspend |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GeronimoTransactionManager
public GeronimoTransactionManager()
throws XAException
- Throws:
XAException
GeronimoTransactionManager
public GeronimoTransactionManager(int defaultTransactionTimeoutSeconds)
throws XAException
- Throws:
XAException
GeronimoTransactionManager
public GeronimoTransactionManager(int defaultTransactionTimeoutSeconds,
TransactionLog transactionLog)
throws XAException
- Throws:
XAException
GeronimoTransactionManager
public GeronimoTransactionManager(int defaultTransactionTimeoutSeconds,
XidFactory xidFactory,
TransactionLog transactionLog)
throws XAException
- Throws:
XAException
commit
public void commit(Xid xid,
boolean onePhase)
throws XAException
- Specified by:
commit
in interface XATerminator
- Throws:
XAException
- See Also:
XATerminator.commit(javax.transaction.xa.Xid, boolean)
forget
public void forget(Xid xid)
throws XAException
- Specified by:
forget
in interface XATerminator
- Throws:
XAException
- See Also:
XATerminator.forget(javax.transaction.xa.Xid)
prepare
public int prepare(Xid xid)
throws XAException
- Specified by:
prepare
in interface XATerminator
- Throws:
XAException
- See Also:
XATerminator.prepare(javax.transaction.xa.Xid)
recover
public Xid[] recover(int flag)
throws XAException
- Specified by:
recover
in interface XATerminator
- Throws:
XAException
- See Also:
XATerminator.recover(int)
rollback
public void rollback(Xid xid)
throws XAException
- Specified by:
rollback
in interface XATerminator
- Throws:
XAException
- See Also:
XATerminator.rollback(javax.transaction.xa.Xid)
begin
public void begin(Xid xid,
long txTimeoutMillis)
throws XAException,
InvalidTransactionException,
SystemException,
ImportedTransactionActiveException
- Specified by:
begin
in interface XAWork
- Throws:
XAException
InvalidTransactionException
SystemException
ImportedTransactionActiveException
end
public void end(Xid xid)
throws XAException,
SystemException
- Specified by:
end
in interface XAWork
- Throws:
XAException
SystemException
Copyright © 2003-2009 The Apache Software Foundation. All Rights Reserved.