org.castor.transactionmanager

Class JNDIENCTransactionManagerFactory

Implemented Interfaces:
TransactionManagerFactory

public final class JNDIENCTransactionManagerFactory
extends java.lang.Object
implements TransactionManagerFactory

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}.
Version:
$Revision: 5951 $ $Date: 2006-04-13 10:49:49 -0600 (Thu, 13 Apr 2006) $
Authors:
Bruce Snyder
Werner Guttmann
Ralf Joachim
Since:
1.0

Field Summary

static String
NAME
The name of the factory.
static String
TRANSACTION_MANAGER_NAME
Default JNDI binding for javax.transaction.TransactionManager instance.

Method Summary

String
getName()
TransactionManager
getTransactionManager(Properties properties)

Field Details

NAME

public static final String NAME
The name of the factory.

TRANSACTION_MANAGER_NAME

public static final String TRANSACTION_MANAGER_NAME
Default JNDI binding for javax.transaction.TransactionManager instance.

Method Details

getName

public String getName()
Specified by:
getName in interface TransactionManagerFactory

getTransactionManager

public TransactionManager getTransactionManager(Properties properties)
            throws TransactionManagerAcquireException
Specified by:
getTransactionManager in interface TransactionManagerFactory

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