org.apache.geronimo.transaction.manager
Class GeronimoTransactionManagerGBean
java.lang.Object
org.apache.geronimo.transaction.manager.TransactionManagerImpl
org.apache.geronimo.transaction.manager.GeronimoTransactionManager
org.apache.geronimo.transaction.manager.GeronimoTransactionManagerGBean
- All Implemented Interfaces:
- EventListener, XATerminator, TransactionManager, UserTransaction, MonitorableTransactionManager, XAWork, XidImporter
public class GeronimoTransactionManagerGBean
- extends GeronimoTransactionManager
Used to provide the GBean metadata for the GeronimoTransactionManager class
Field Summary |
static org.apache.geronimo.gbean.GBeanInfo |
GBEAN_INFO
|
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GBEAN_INFO
public static final org.apache.geronimo.gbean.GBeanInfo GBEAN_INFO
GeronimoTransactionManagerGBean
public GeronimoTransactionManagerGBean(int defaultTransactionTimeoutSeconds,
XidFactory xidFactory,
TransactionLog transactionLog,
Collection resourceManagers)
throws XAException
- TODO NOTE!!! this should be called in an unspecified transaction context, but we cannot enforce this restriction!
- Throws:
XAException
watchResourceManagers
protected List watchResourceManagers(Collection resourceManagers)
- We can track as resources are added into the geronimo kernel.
- Overrides:
watchResourceManagers
in class TransactionManagerImpl
- Parameters:
resourceManagers
-
- Returns:
- the original list of resources.
getGBeanInfo
public static org.apache.geronimo.gbean.GBeanInfo getGBeanInfo()
Copyright © 2006 Apache Software Foundation. All Rights Reserved.