org.exolab.castor.jdo.transactionmanager.spi
Class WebSphereTransactionManagerFactory

java.lang.Object
  extended byorg.exolab.castor.jdo.transactionmanager.spi.BaseTransactionManagerFactory
      extended byorg.exolab.castor.jdo.transactionmanager.spi.WebSphereTransactionManagerFactory
All Implemented Interfaces:
TransactionManagerFactory

public class WebSphereTransactionManagerFactory
extends BaseTransactionManagerFactory

An IBM Websphere 4 and prior specific factory for acquiring transactions from this particular J2EE container.

Author:
Bruce Snyder, Werner Guttmann

Field Summary
 
Fields inherited from class org.exolab.castor.jdo.transactionmanager.spi.BaseTransactionManagerFactory
params
 
Constructor Summary
WebSphereTransactionManagerFactory()
           
 
Method Summary
 java.lang.String getName()
          Returns the short alias for this factory instance.
 javax.transaction.TransactionManager getTransactionManager()
          Acquires the appropriate TransactionManager.
 
Methods inherited from class org.exolab.castor.jdo.transactionmanager.spi.BaseTransactionManagerFactory
getParams, setParams
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebSphereTransactionManagerFactory

public WebSphereTransactionManagerFactory()
Method Detail

getTransactionManager

public javax.transaction.TransactionManager getTransactionManager()
                                                           throws TransactionManagerAcquireException
Acquires the appropriate TransactionManager.

Specified by:
getTransactionManager in interface TransactionManagerFactory
Specified by:
getTransactionManager in class BaseTransactionManagerFactory
Throws:
TransactionManagerAcquireException

getName

public java.lang.String getName()
Description copied from interface: TransactionManagerFactory
Returns the short alias for this factory instance.

Specified by:
getName in interface TransactionManagerFactory
Specified by:
getName in class BaseTransactionManagerFactory


Intalio Inc. (C) 1999-2004. All rights reserved http://www.intalio.com