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, UserTransaction, MonitorableTransactionManager, XAWork, XidImporter
- Direct Known Subclasses:
- GeronimoTransactionManagerGBean
public class GeronimoTransactionManager
- extends TransactionManagerImpl
- implements XATerminator, XAWork
Methods inherited from class org.apache.geronimo.transaction.manager.TransactionManagerImpl |
addTransactionAssociationListener, begin, begin, commit, commit, fireThreadAssociated, fireThreadUnassociated, forget, getExternalXids, getResource, getRollbackOnly, getStatus, getTransaction, getTransactionKey, getTransactionStatus, importXid, prepare, putResource, recoverResourceManager, registerInterposedSynchronization, removeTransactionAssociationListener, resume, rollback, rollback, setRollbackOnly, setTransactionTimeout, suspend, watchResourceManagers |
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,
Collection resourceManagers)
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 © 2006 Apache Software Foundation. All Rights Reserved.