public class JMSURLHelper
extends java.lang.Object
Constructor and Description |
---|
JMSURLHelper(java.net.URL url) |
JMSURLHelper(java.net.URL url,
java.lang.String[] requiredProperties) |
Modifier and Type | Method and Description |
---|---|
void |
addApplicationProperty(java.lang.String property)
Adds the name of a property from the url properties that should
be added to the JMS message.
|
void |
addApplicationProperty(java.lang.String property,
java.lang.String value)
Adds the name and value od the application property to the
JMS URL.
|
void |
addRequiredProperties(java.lang.String[] properties) |
void |
addRequiredProperty(java.lang.String property) |
java.util.Vector |
getApplicationProperties()
Returns a collection of properties that are defined within the
JMS URL to be added directly to the JMS messages.
|
java.lang.String |
getDestination() |
java.lang.String |
getDomain() |
java.util.HashMap |
getProperties() |
java.lang.String |
getPropertyValue(java.lang.String property) |
java.util.Vector |
getRequiredProperties() |
java.lang.String |
getURLString()
Returns a URL formatted String.
|
java.lang.String |
getVendor() |
void |
setDestination(java.lang.String destination) |
java.lang.String |
toString()
Returns a formatted URL String with the assigned properties
|
public JMSURLHelper(java.net.URL url) throws java.net.MalformedURLException
java.net.MalformedURLException
public JMSURLHelper(java.net.URL url, java.lang.String[] requiredProperties) throws java.net.MalformedURLException
java.net.MalformedURLException
public java.lang.String getDestination()
public void setDestination(java.lang.String destination)
public java.lang.String getVendor()
public java.lang.String getDomain()
public java.util.HashMap getProperties()
public java.lang.String getPropertyValue(java.lang.String property)
public void addRequiredProperties(java.lang.String[] properties)
public void addRequiredProperty(java.lang.String property)
public java.util.Vector getRequiredProperties()
public void addApplicationProperty(java.lang.String property)
public void addApplicationProperty(java.lang.String property, java.lang.String value)
public java.util.Vector getApplicationProperties()
public java.lang.String getURLString()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright ? 2005 Apache Web Services Project. All Rights Reserved.