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

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

public class JNDIENCTransactionManagerFactory
extends BaseTransactionManagerFactory

Transaction manager factory instance to be used with J2EE containers where the transaction manager is bound to the JNDI ENC of the container. Implements {link org.exolab.castor.jdo.transactionmanager. TransactionManagerFactory}.

Author:
Bruce Snyder, Werner Guttmann

Field Summary
 
Fields inherited from class org.exolab.castor.jdo.transactionmanager.spi.BaseTransactionManagerFactory
params
 
Constructor Summary
JNDIENCTransactionManagerFactory()
           
 
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

JNDIENCTransactionManagerFactory

public JNDIENCTransactionManagerFactory()
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