org.mule.impl.endpoint
Class AbstractEndpointBuilder

java.lang.Object
  extended byorg.mule.impl.endpoint.AbstractEndpointBuilder
All Implemented Interfaces:
EndpointBuilder
Direct Known Subclasses:
FileEndpointBuilder, JdbcEndpointBuilder, ResourceNameEndpointBuilder, SocketEndpointBuilder, UrlEndpointBuilder, UserInfoEndpointBuilder, WsdlUrlEndpointBuilder

public abstract class AbstractEndpointBuilder
extends Object
implements EndpointBuilder

UrlEndpointBuilder is the default endpointUri strategy suitable for most connectors


Field Summary
protected  String address
           
protected  String connectorName
           
protected  int createConnector
           
protected  String endpointName
           
protected  String responseTransformers
           
protected  String transformers
           
protected  String userInfo
           
 
Constructor Summary
AbstractEndpointBuilder()
           
 
Method Summary
 UMOEndpointURI build(URI uri)
           
protected  Properties getPropertiesForURI(URI uri)
           
protected abstract  void setEndpoint(URI uri, Properties props)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

address

protected String address

endpointName

protected String endpointName

connectorName

protected String connectorName

transformers

protected String transformers

responseTransformers

protected String responseTransformers

userInfo

protected String userInfo

createConnector

protected int createConnector
Constructor Detail

AbstractEndpointBuilder

public AbstractEndpointBuilder()
Method Detail

build

public UMOEndpointURI build(URI uri)
                     throws MalformedEndpointException
Specified by:
build in interface EndpointBuilder
Throws:
MalformedEndpointException

setEndpoint

protected abstract void setEndpoint(URI uri,
                                    Properties props)
                             throws MalformedEndpointException
Throws:
MalformedEndpointException

getPropertiesForURI

protected Properties getPropertiesForURI(URI uri)
                                  throws MalformedEndpointException
Throws:
MalformedEndpointException


Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.