org.jboss.security.plugins
Class TransactionManagerLocator

java.lang.Object
  extended by 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
TransactionManagerLocator()
           
 
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
 

Constructor Detail

TransactionManagerLocator

public TransactionManagerLocator()
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


Copyright © 2009 JBoss Inc.. All Rights Reserved.