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
Method Summary |
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransactionManagerLocator
public TransactionManagerLocator()
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
Copyright © 2009 JBoss Inc.. All Rights Reserved.