Package org.jboss.security.plugins
Class TransactionManagerLocator
- java.lang.Object
-
- org.jboss.security.plugins.TransactionManagerLocator
-
public class TransactionManagerLocator extends Object
Locate a Transaction Manager- Since:
- May 13, 2007
- Version:
- $Revision$
- Author:
- Anil.Saldhana@redhat.com
-
-
Constructor Summary
Constructors Constructor Description TransactionManagerLocator()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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 reflectionstatic void
setTransactionManager(TransactionManager transactionManager)
-
-
-
Method Detail
-
getTM
public TransactionManager getTM(String jndiName) throws NamingException
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- Parameters:
jndiName
-- Returns:
- Throws:
NamingException
-
setTransactionManager
public static void setTransactionManager(TransactionManager transactionManager)
-
-