org.mule.endpoint
Class AbstractEndpointURIBuilder

java.lang.Object
  extended by org.mule.endpoint.AbstractEndpointURIBuilder
All Implemented Interfaces:
EndpointURIBuilder
Direct Known Subclasses:
FileEndpointURIBuilder, JdbcEndpointURIBuilder, ResourceNameEndpointURIBuilder, SocketEndpointURIBuilder, UrlEndpointURIBuilder, UserInfoEndpointURIBuilder, WsdlUrlEndpointURIBuilder

public abstract class AbstractEndpointURIBuilder
extends java.lang.Object
implements EndpointURIBuilder

UrlEndpointURIBuilder is the default endpointUri strategy suitable for most connectors


Field Summary
protected  java.lang.String address
           
protected  java.lang.String connectorName
           
protected  java.lang.String endpointName
           
protected  java.lang.String responseTransformers
           
protected  java.lang.String transformers
           
protected  java.lang.String userInfo
           
 
Constructor Summary
AbstractEndpointURIBuilder()
           
 
Method Summary
 EndpointURI build(java.net.URI uri, MuleContext muleContext)
           
protected  java.util.Properties getPropertiesForURI(java.net.URI uri, MuleContext muleContext)
           
protected  void rewriteURI(java.net.URI newURI)
           
protected abstract  void setEndpoint(java.net.URI uri, java.util.Properties props)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

address

protected java.lang.String address

endpointName

protected java.lang.String endpointName

connectorName

protected java.lang.String connectorName

transformers

protected java.lang.String transformers

responseTransformers

protected java.lang.String responseTransformers

userInfo

protected java.lang.String userInfo
Constructor Detail

AbstractEndpointURIBuilder

public AbstractEndpointURIBuilder()
Method Detail

build

public EndpointURI build(java.net.URI uri,
                         MuleContext muleContext)
                  throws MalformedEndpointException
Specified by:
build in interface EndpointURIBuilder
Throws:
MalformedEndpointException

rewriteURI

protected void rewriteURI(java.net.URI newURI)

setEndpoint

protected abstract void setEndpoint(java.net.URI uri,
                                    java.util.Properties props)
                             throws MalformedEndpointException
Throws:
MalformedEndpointException

getPropertiesForURI

protected java.util.Properties getPropertiesForURI(java.net.URI uri,
                                                   MuleContext muleContext)
                                            throws MalformedEndpointException
Throws:
MalformedEndpointException


Copyright © 2003-2010 MuleSoft, Inc.. All Rights Reserved.