public class TransactionManagerLocator extends Object
Constructor and Description |
---|
TransactionManagerLocator() |
Modifier and Type | Method and Description |
---|---|
TransactionManager |
getTM(String jndiName)
Get the TransactionManager provided a JNDI Name for the
Transaction Manager
Note: If the TM is not bound to JNDI, an attempt is made to obtain the JBoss TxManager instance via reflection |
static void |
setTransactionManager(TransactionManager transactionManager) |
public TransactionManager getTM(String jndiName) throws NamingException
jndiName
- NamingException
public static void setTransactionManager(TransactionManager transactionManager)
Copyright © 2019 JBoss by Red Hat. All rights reserved.