TransactionManagerFactory
public final class AtomikosTransactionManagerFactory extends java.lang.Object implements TransactionManagerFactory
Modifier and Type | Field | Description |
---|---|---|
static java.lang.String |
MANAGER_CLASS_NAME |
Name of the Atomikos specific transaction manager class.
|
static java.lang.String |
NAME |
The name of the factory.
|
Constructor | Description |
---|---|
AtomikosTransactionManagerFactory() |
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getName() |
Returns the short alias for this factory instance.
|
javax.transaction.TransactionManager |
getTransactionManager(java.lang.String managerClassName,
java.util.Properties properties) |
Constructs a instance of the given manager class name which implements
javax.transaction.TransactionManager interface with the given
properties.
|
javax.transaction.TransactionManager |
getTransactionManager(java.util.Properties properties) |
Acquires the appropriate javax.transaction.TransactionManager with the
given properties.
|
public static final java.lang.String MANAGER_CLASS_NAME
public static final java.lang.String NAME
public java.lang.String getName()
getName
in interface TransactionManagerFactory
public javax.transaction.TransactionManager getTransactionManager(java.util.Properties properties) throws TransactionManagerAcquireException
getTransactionManager
in interface TransactionManagerFactory
properties
- The properties passed to the transaction manager.TransactionManagerAcquireException
- If any failure occured when loading
the transaction manager.public javax.transaction.TransactionManager getTransactionManager(java.lang.String managerClassName, java.util.Properties properties) throws TransactionManagerAcquireException
managerClassName
- Class name of the transaction manager.properties
- The properties passed to the transaction manager.TransactionManagerAcquireException
- If any failure occured when loading
the transaction manager.Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com