org.castor.transactionmanager
public final class JOTMTransactionManagerFactory extends Object implements TransactionManagerFactory
Since: 1.0
Version: $Revision: 6023 $ $Date: 2006-04-13 10:49:49 -0600 (Thu, 13 Apr 2006) $
Field Summary | |
---|---|
static String | FACTORY_CLASS_NAME Name of the JOTM specific transaction manager factory class. |
static String | NAME The name of the factory. |
Method Summary | |
---|---|
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. |
See Also: getName
Parameters: factoryClassName Class name of the factory copatibla with JOTM. properties The properties passed to the transaction manager.
Returns: The transaction manager.
Throws: TransactionManagerAcquireException If any failure occured when loading the transaction manager.