org.mule.impl.endpoint
Class MuleEndpointURI
java.lang.Object
org.mule.impl.endpoint.MuleEndpointURI
- All Implemented Interfaces:
- java.io.Serializable, UMOEndpointURI
- public class MuleEndpointURI
- extends java.lang.Object
- implements UMOEndpointURI
MuleEndpointURI
is used to determine how a message is sent of received.
The url defines the protocol, the endpointUri destination of the message and optionally the endpoint to
use when dispatching the event. Mule urls take the form of -
protocol://[host]:[port]/[provider]/endpointUri or protocol://[host]:[port]/endpointUri i.e.
vm://localhost/vmProvider/my.object or vm://my.object
The protocol can be any of any conector registered with Mule. The endpoint name if specified must be the
name of a register global endpoint
The endpointUri can be any endpointUri recognised by the endpoint type.
- Version:
- $Revision: 1.8 $
- Author:
- Ross Mason
- See Also:
- Serialized Form
Field Summary |
protected static Log |
logger
logger used by this class |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
logger
protected static transient Log logger
- logger used by this class
MuleEndpointURI
public MuleEndpointURI(java.lang.String address,
java.lang.String endpointName,
java.lang.String connectorName,
java.lang.String transformers,
int createConnector,
java.util.Properties properties,
java.net.URI uri)
MuleEndpointURI
public MuleEndpointURI(UMOEndpointURI endpointUri)
MuleEndpointURI
public MuleEndpointURI(UMOEndpointURI endpointUri,
java.lang.String filterAddress)
MuleEndpointURI
public MuleEndpointURI(java.lang.String uri)
throws MalformedEndpointException
validateUrl
protected boolean validateUrl(java.lang.String url)
getAddress
public java.lang.String getAddress()
- Specified by:
getAddress
in interface UMOEndpointURI
getEndpointName
public java.lang.String getEndpointName()
- Specified by:
getEndpointName
in interface UMOEndpointURI
isMuleUri
public static boolean isMuleUri(java.lang.String url)
getParams
public java.util.Properties getParams()
- Specified by:
getParams
in interface UMOEndpointURI
getUserParams
public java.util.Properties getUserParams()
- Specified by:
getUserParams
in interface UMOEndpointURI
parseServerAuthority
public java.net.URI parseServerAuthority()
throws java.net.URISyntaxException
- Throws:
java.net.URISyntaxException
normalize
public java.net.URI normalize()
resolve
public java.net.URI resolve(java.net.URI uri)
resolve
public java.net.URI resolve(java.lang.String str)
relativize
public java.net.URI relativize(java.net.URI uri)
getScheme
public java.lang.String getScheme()
- Specified by:
getScheme
in interface UMOEndpointURI
getFullScheme
public java.lang.String getFullScheme()
- Specified by:
getFullScheme
in interface UMOEndpointURI
isAbsolute
public boolean isAbsolute()
isOpaque
public boolean isOpaque()
getRawSchemeSpecificPart
public java.lang.String getRawSchemeSpecificPart()
getSchemeSpecificPart
public java.lang.String getSchemeSpecificPart()
getRawAuthority
public java.lang.String getRawAuthority()
getAuthority
public java.lang.String getAuthority()
- Specified by:
getAuthority
in interface UMOEndpointURI
getRawUserInfo
public java.lang.String getRawUserInfo()
getUserInfo
public java.lang.String getUserInfo()
- Specified by:
getUserInfo
in interface UMOEndpointURI
getHost
public java.lang.String getHost()
- Specified by:
getHost
in interface UMOEndpointURI
getPort
public int getPort()
- Specified by:
getPort
in interface UMOEndpointURI
getRawPath
public java.lang.String getRawPath()
getPath
public java.lang.String getPath()
- Specified by:
getPath
in interface UMOEndpointURI
getRawQuery
public java.lang.String getRawQuery()
getQuery
public java.lang.String getQuery()
- Specified by:
getQuery
in interface UMOEndpointURI
getRawFragment
public java.lang.String getRawFragment()
getFragment
public java.lang.String getFragment()
toString
public java.lang.String toString()
getTransformers
public java.lang.String getTransformers()
- Specified by:
getTransformers
in interface UMOEndpointURI
getCreateConnector
public int getCreateConnector()
- Specified by:
getCreateConnector
in interface UMOEndpointURI
getUri
public java.net.URI getUri()
- Specified by:
getUri
in interface UMOEndpointURI
getConnectorName
public java.lang.String getConnectorName()
- Specified by:
getConnectorName
in interface UMOEndpointURI
getSchemeMetaInfo
public java.lang.String getSchemeMetaInfo()
- Specified by:
getSchemeMetaInfo
in interface UMOEndpointURI
getResourceInfo
public java.lang.String getResourceInfo()
- Specified by:
getResourceInfo
in interface UMOEndpointURI
getFilterAddress
public java.lang.String getFilterAddress()
- Specified by:
getFilterAddress
in interface UMOEndpointURI
setEndpointName
public void setEndpointName(java.lang.String name)
- Specified by:
setEndpointName
in interface UMOEndpointURI
getUsername
public java.lang.String getUsername()
- Specified by:
getUsername
in interface UMOEndpointURI
getPassword
public java.lang.String getPassword()
- Specified by:
getPassword
in interface UMOEndpointURI
equals
public boolean equals(java.lang.Object o)
hashCode
public int hashCode()
Copyright © 2003-2005 SymphonySoft Limited. All Rights Reserved.