org.apache.geronimo.transaction.manager
Class TransactionManagerImplGBean

java.lang.Object
  extended byorg.apache.geronimo.transaction.manager.TransactionManagerImpl
      extended byorg.apache.geronimo.transaction.manager.TransactionManagerImplGBean
All Implemented Interfaces:
ExtendedTransactionManager, TransactionManager, XidImporter

public class TransactionManagerImplGBean
extends TransactionManagerImpl

Simple implementation of a transaction manager.

Version:
$Rev: 381214 $ $Date: 2006-02-27 02:12:56 +0100 (Mon, 27 Feb 2006) $

Field Summary
static org.apache.geronimo.gbean.GBeanInfo GBEAN_INFO
           
 
Constructor Summary
TransactionManagerImplGBean(int defaultTransactionTimeoutSeconds, XidFactory xidFactory, TransactionLog transactionLog, Collection resourceManagers)
          TODO NOTE!!! this should be called in an unspecified transaction context, but we cannot enforce this restriction!
 
Method Summary
static org.apache.geronimo.gbean.GBeanInfo getGBeanInfo()
           
protected  List watchResourceManagers(Collection resourceManagers)
          We can track as resources are added into the geronimo kernel.
 
Methods inherited from class org.apache.geronimo.transaction.manager.TransactionManagerImpl
begin, begin, commit, commit, forget, getExternalXids, getStatus, getTransaction, importXid, prepare, recoverResourceManager, 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 org.apache.geronimo.gbean.GBeanInfo GBEAN_INFO
Constructor Detail

TransactionManagerImplGBean

public TransactionManagerImplGBean(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!

Method Detail

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 © 2003-2007 Apache Software Foundation. All Rights Reserved.