org.apache.geronimo.transaction.manager
Class GeronimoTransactionManagerGBean

java.lang.Object
  extended by org.apache.geronimo.transaction.manager.TransactionManagerImpl
      extended by org.apache.geronimo.transaction.manager.GeronimoTransactionManager
          extended by org.apache.geronimo.transaction.manager.GeronimoTransactionManagerGBean
All Implemented Interfaces:
EventListener, XATerminator, TransactionManager, TransactionSynchronizationRegistry, UserTransaction, StatisticsProvider, org.apache.geronimo.transaction.manager.MonitorableTransactionManager, org.apache.geronimo.transaction.manager.RecoverableTransactionManager, org.apache.geronimo.transaction.manager.XAWork, org.apache.geronimo.transaction.manager.XidImporter

public class GeronimoTransactionManagerGBean
extends org.apache.geronimo.transaction.manager.GeronimoTransactionManager
implements StatisticsProvider

Used to provide the GBean metadata for the GeronimoTransactionManager class


Field Summary
static GBeanInfo GBEAN_INFO
           
 
Fields inherited from class org.apache.geronimo.transaction.manager.TransactionManagerImpl
DEFAULT_TIMEOUT, DEFAULT_TM_ID
 
Constructor Summary
GeronimoTransactionManagerGBean(int defaultTransactionTimeoutSeconds, org.apache.geronimo.transaction.manager.XidFactory xidFactory, org.apache.geronimo.transaction.manager.TransactionLog transactionLog)
          TODO NOTE!!!
 
Method Summary
static GBeanInfo getGBeanInfo()
           
 Stats getStats()
          Gets the statistics collected for this class.
 boolean isEventProvider()
           
 boolean isStateManageable()
           
 boolean isStatisticsProvider()
           
 void resetStats()
          Reset the startTime for all statistics
 
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, 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
 

Field Detail

GBEAN_INFO

public static final GBeanInfo GBEAN_INFO
Constructor Detail

GeronimoTransactionManagerGBean

public GeronimoTransactionManagerGBean(int defaultTransactionTimeoutSeconds,
                                       org.apache.geronimo.transaction.manager.XidFactory xidFactory,
                                       org.apache.geronimo.transaction.manager.TransactionLog transactionLog)
                                throws XAException
TODO NOTE!!! this should be called in an unspecified transaction context, but we cannot enforce this restriction!

Throws:
XAException
Method Detail

resetStats

public void resetStats()
Description copied from interface: StatisticsProvider
Reset the startTime for all statistics

Specified by:
resetStats in interface StatisticsProvider

getStats

public Stats getStats()
Description copied from interface: StatisticsProvider
Gets the statistics collected for this class. The first call to this method initializes the startTime for all statistics.

Specified by:
getStats in interface StatisticsProvider
Returns:
gets collected for this class

isStateManageable

public boolean isStateManageable()

isStatisticsProvider

public boolean isStatisticsProvider()

isEventProvider

public boolean isEventProvider()

getGBeanInfo

public static GBeanInfo getGBeanInfo()


Copyright © 2003-2008 The Apache Geronimo development community. All Rights Reserved.