[jboss-cvs] JBossAS SVN: r63127 - projects/security/security-jboss-sx/trunk/src/main/org/jboss/security/plugins.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu May 17 16:36:41 EDT 2007


Author: anil.saldhana at jboss.com
Date: 2007-05-17 16:36:40 -0400 (Thu, 17 May 2007)
New Revision: 63127

Modified:
   projects/security/security-jboss-sx/trunk/src/main/org/jboss/security/plugins/TransactionManagerLocator.java
Log:
add javadoc text

Modified: projects/security/security-jboss-sx/trunk/src/main/org/jboss/security/plugins/TransactionManagerLocator.java
===================================================================
--- projects/security/security-jboss-sx/trunk/src/main/org/jboss/security/plugins/TransactionManagerLocator.java	2007-05-17 20:24:01 UTC (rev 63126)
+++ projects/security/security-jboss-sx/trunk/src/main/org/jboss/security/plugins/TransactionManagerLocator.java	2007-05-17 20:36:40 UTC (rev 63127)
@@ -46,6 +46,15 @@
    {   
    }
    
+   /**
+    * Get the TransactionManager provided a JNDI Name for the
+    * Transaction Manager <br/>
+    * Note: If the TM is not bound to JNDI, an attempt is made
+    * to obtain the JBoss TxManager instance via reflection
+    * @param jndiName
+    * @return
+    * @throws NamingException
+    */
    public TransactionManager getTM(String jndiName) throws NamingException
    {
       TransactionManager tm = null;




More information about the jboss-cvs-commits mailing list