&]*"
- Author:
- Ray Chun (rchun@sonicsoftware.com)
Constructor Summary |
JMSURLHelper(java.net.URL url)
|
JMSURLHelper(java.net.URL url,
java.lang.String[] requiredProperties)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
JMSURLHelper
public JMSURLHelper(java.net.URL url)
throws java.net.MalformedURLException
JMSURLHelper
public JMSURLHelper(java.net.URL url,
java.lang.String[] requiredProperties)
throws java.net.MalformedURLException
getDestination
public java.lang.String getDestination()
setDestination
public void setDestination(java.lang.String destination)
getVendor
public java.lang.String getVendor()
getDomain
public java.lang.String getDomain()
getProperties
public java.util.HashMap getProperties()
getPropertyValue
public java.lang.String getPropertyValue(java.lang.String property)
addRequiredProperties
public void addRequiredProperties(java.lang.String[] properties)
addRequiredProperty
public void addRequiredProperty(java.lang.String property)
getRequiredProperties
public java.util.Vector getRequiredProperties()
addApplicationProperty
public void addApplicationProperty(java.lang.String property)
- Adds the name of a property from the url properties that should
be added to the JMS message.
addApplicationProperty
public void addApplicationProperty(java.lang.String property,
java.lang.String value)
- Adds the name and value od the application property to the
JMS URL.
getApplicationProperties
public java.util.Vector getApplicationProperties()
- Returns a collection of properties that are defined within the
JMS URL to be added directly to the JMS messages.
- Returns:
- collection or null depending on presence of elements
getURLString
public java.lang.String getURLString()
- Returns a URL formatted String. The properties of the URL may not
end up in the same order as the JMS URL that was originally used to
create this object.
toString
public java.lang.String toString()
- Returns a formatted URL String with the assigned properties
Copyright © 2005 Apache Web Services Project. All Rights Reserved.