org.mule.transport.jcr
Class JcrEndpointURIBuilder

java.lang.Object
  extended by org.mule.endpoint.AbstractEndpointURIBuilder
      extended by org.mule.transport.jcr.JcrEndpointURIBuilder
All Implemented Interfaces:
org.mule.api.endpoint.EndpointURIBuilder

public class JcrEndpointURIBuilder
extends org.mule.endpoint.AbstractEndpointURIBuilder

JcrEndpointURIBuilder is a builder that is specific to the JCR transport.


Field Summary
 
Fields inherited from class org.mule.endpoint.AbstractEndpointURIBuilder
address, connectorName, endpointName, responseTransformers, transformers, userInfo
 
Constructor Summary
JcrEndpointURIBuilder()
           
 
Method Summary
static org.mule.api.endpoint.EndpointURI newJcrEndpointURI(String path, org.mule.api.MuleContext muleContext)
          Helper method for safely building a JCR endpoint URI from a node path, which can contains the [ and ] reserved characters.
protected  void setEndpoint(URI uri, Properties props)
           
 
Methods inherited from class org.mule.endpoint.AbstractEndpointURIBuilder
build, getPropertiesForURI, rewriteURI
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JcrEndpointURIBuilder

public JcrEndpointURIBuilder()
Method Detail

newJcrEndpointURI

public static org.mule.api.endpoint.EndpointURI newJcrEndpointURI(String path,
                                                                  org.mule.api.MuleContext muleContext)
                                                           throws org.mule.api.endpoint.EndpointException
Helper method for safely building a JCR endpoint URI from a node path, which can contains the [ and ] reserved characters.

Parameters:
path - a node path.
Returns:
a new EndpointURI.
Throws:
org.mule.api.endpoint.EndpointException - thrown in case the path can not be transformed into a valid EndpointURI.

setEndpoint

protected void setEndpoint(URI uri,
                           Properties props)
                    throws org.mule.api.endpoint.MalformedEndpointException
Specified by:
setEndpoint in class org.mule.endpoint.AbstractEndpointURIBuilder
Throws:
org.mule.api.endpoint.MalformedEndpointException


Copyright © 2011. All Rights Reserved.