[jboss-svn-commits] JBL Code SVN: r6933 - labs/jbossesb/workspace/eschifman/trunk/product/core/rosetta/src/org/jboss/soa/esb/addressing/helpers

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Thu Oct 19 17:15:04 EDT 2006


Author: estebanschifman
Date: 2006-10-19 17:15:01 -0400 (Thu, 19 Oct 2006)
New Revision: 6933

Modified:
   labs/jbossesb/workspace/eschifman/trunk/product/core/rosetta/src/org/jboss/soa/esb/addressing/helpers/JMSEpr.java
Log:
getters for jndi values and message selector

Modified: labs/jbossesb/workspace/eschifman/trunk/product/core/rosetta/src/org/jboss/soa/esb/addressing/helpers/JMSEpr.java
===================================================================
--- labs/jbossesb/workspace/eschifman/trunk/product/core/rosetta/src/org/jboss/soa/esb/addressing/helpers/JMSEpr.java	2006-10-19 20:07:03 UTC (rev 6932)
+++ labs/jbossesb/workspace/eschifman/trunk/product/core/rosetta/src/org/jboss/soa/esb/addressing/helpers/JMSEpr.java	2006-10-19 21:15:01 UTC (rev 6933)
@@ -193,4 +193,34 @@
 		return getAddr().getExtensionValue(CONNECTION_FACTORY_TAG);
 	}
 
+	/**
+	 * @return the jndi type for this EPR, or <code>null</code> if none is set.
+	 * @throws URISyntaxException thrown if the address is malformed.
+	 */
+	
+	public final String getJndiType () throws URISyntaxException
+	{
+		return getAddr().getExtensionValue(JNDI_TYPE_TAG);
+	}
+
+	/**
+	 * @return the jndi URL for this EPR, or <code>null</code> if none is set.
+	 * @throws URISyntaxException thrown if the address is malformed.
+	 */
+	
+	public final String getJndiURL () throws URISyntaxException
+	{
+		return getAddr().getExtensionValue(JNDI_URL_TAG);
+	}
+
+	/**
+	 * @return the message selector for this EPR, or <code>null</code> if none is set.
+	 * @throws URISyntaxException thrown if the address is malformed.
+	 */
+	
+	public final String getMessageSelector () throws URISyntaxException
+	{
+		return getAddr().getExtensionValue(MESSAGE_SELECTOR_TAG);
+	}
+
 } 
\ No newline at end of file




More information about the jboss-svn-commits mailing list