public final class AtomikosTransactionManagerFactory extends Object implements TransactionManagerFactory
| Modifier and Type | Field and Description |
|---|---|
static String |
MANAGER_CLASS_NAME
Name of the Atomikos specific transaction manager class.
|
static String |
NAME
The name of the factory.
|
| Constructor and Description |
|---|
AtomikosTransactionManagerFactory() |
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Returns the short alias for this factory instance.
|
TransactionManager |
getTransactionManager(Properties properties)
Acquires the appropriate javax.transaction.TransactionManager with the
given properties.
|
TransactionManager |
getTransactionManager(String managerClassName,
Properties properties)
Constructs a instance of the given manager class name which implements
javax.transaction.TransactionManager interface with the given
properties.
|
public static final String MANAGER_CLASS_NAME
public static final String NAME
public String getName()
getName in interface TransactionManagerFactorypublic TransactionManager getTransactionManager(Properties properties) throws TransactionManagerAcquireException
getTransactionManager in interface TransactionManagerFactoryproperties - The properties passed to the transaction manager.TransactionManagerAcquireException - If any failure occured when loading
the transaction manager.public TransactionManager getTransactionManager(String managerClassName, 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.Copyright © 2014. All rights reserved.