org.castor.transactionmanager
Class JOTMTransactionManagerFactory
java.lang.Object
org.castor.transactionmanager.JOTMTransactionManagerFactory
- TransactionManagerFactory
public final class JOTMTransactionManagerFactory
extends java.lang.Object
Transaction manager factory instance to be used with J2EE containers
where the transaction manager used is JOTM.
Implements {link org.castor.jdo.transaction.TransactionManagerFactory}.
$Revision: 7085 $ $Date: 2006-04-13 10:49:49 -0600 (Thu, 13 Apr 2006) $static String | FACTORY_CLASS_NAME - Name of the JOTM specific transaction manager factory class.
|
static String | NAME - The name of the factory.
|
String | getName() -
|
TransactionManager | getTransactionManager(Properties properties) -
|
TransactionManager | getTransactionManager(String factoryClassName, Properties properties) - Acquires a javax.transaction.TransactionManager instance with the
given properties from the given factory.
|
FACTORY_CLASS_NAME
public static final String FACTORY_CLASS_NAME
Name of the JOTM specific transaction manager factory class.
NAME
public static final String NAME
The name of the factory.
getTransactionManager
public TransactionManager getTransactionManager(String factoryClassName,
Properties properties)
throws TransactionManagerAcquireException
Acquires a javax.transaction.TransactionManager instance with the
given properties from the given factory. The factory implementation needs to
be compatible to org.objectweb.jotm.Jotm. The method has been
introduced to allow testing with mock objects.
factoryClassName
- Class name of the factory copatibla with JOTM.properties
- The properties passed to the transaction manager.
Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com