public final class JNDIENCTransactionManagerFactory extends Object implements TransactionManagerFactory
Modifier and Type | Field and Description |
---|---|
static String |
NAME
The name of the factory.
|
static String |
TRANSACTION_MANAGER_NAME
Default JNDI binding for javax.transaction.TransactionManager
instance.
|
Constructor and Description |
---|
JNDIENCTransactionManagerFactory() |
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.
|
public static final String TRANSACTION_MANAGER_NAME
public static final String NAME
public String getName()
getName
in interface TransactionManagerFactory
TransactionManagerFactory.getName()
public TransactionManager getTransactionManager(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.#getTransactionManager(java.util.Properties)
Copyright © 2014. All rights reserved.