org.apache.ojb.otm.transaction
Class WebSphereTransactionFactory

java.lang.Object
  extended byorg.apache.ojb.otm.transaction.ManagedTransactionFactory
      extended byorg.apache.ojb.otm.transaction.WebSphereTransactionFactory
All Implemented Interfaces:
TransactionFactory

public class WebSphereTransactionFactory
extends ManagedTransactionFactory

Author:
matthew.baird

Constructor Summary
WebSphereTransactionFactory()
          Constructor for WebSphereTransactionFactory.
 
Method Summary
 javax.transaction.TransactionManager getJTATransactionManager()
          use reflection to bind to the appropriate websphere classes so we don't have to import or have those libraries available.
 
Methods inherited from class org.apache.ojb.otm.transaction.ManagedTransactionFactory
acquireConnection, getJTATransaction, getTransactionForConnection
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebSphereTransactionFactory

public WebSphereTransactionFactory()
Constructor for WebSphereTransactionFactory.

Method Detail

getJTATransactionManager

public javax.transaction.TransactionManager getJTATransactionManager()
                                                              throws TransactionFactoryException
use reflection to bind to the appropriate websphere classes so we don't have to import or have those libraries available. com.ibm.ejcs.jts.jta.JTSXA.getTransactionManager()

Specified by:
getJTATransactionManager in class ManagedTransactionFactory
Throws:
TransactionFactoryException
See Also:
org.apache.ojb.otm.jdo.transactionmanager.TransactionManagerFactory#getTransactionManager()


Authors: Thomas Mahler and others. (C) 2000 - 2003 Apache Software Foundation
All rights reserved. Published under the Apache License.
http://db.apache.org/ojb
Version: 1.0.rc5, 2003-12-14