org.apache.servicemix.common.util
Class URIResolver

java.lang.Object
  extended by org.apache.servicemix.common.util.URIResolver

public class URIResolver
extends java.lang.Object


Constructor Summary
URIResolver()
           
URIResolver(java.lang.String uri)
           
 
Method Summary
static void configureExchange(javax.jbi.messaging.MessageExchange exchange, javax.jbi.component.ComponentContext context, java.lang.String uri)
           Configures a JBI exchange with the given URI as the target.
protected  javax.jbi.JBIException createServiceUnavailableException()
           
static org.w3c.dom.DocumentFragment createWSAEPR(java.lang.String uri)
           
 java.lang.String getUri()
           
 javax.jbi.servicedesc.ServiceEndpoint[] resolveAvailableEndpoints(javax.jbi.component.ComponentContext context, javax.jbi.messaging.MessageExchange exchange)
           
 void setUri(java.lang.String uri)
           
static java.lang.String[] split2(java.lang.String uri)
           
static java.lang.String[] split3(java.lang.String uri)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

URIResolver

public URIResolver()

URIResolver

public URIResolver(java.lang.String uri)
Method Detail

createServiceUnavailableException

protected javax.jbi.JBIException createServiceUnavailableException()

resolveAvailableEndpoints

public javax.jbi.servicedesc.ServiceEndpoint[] resolveAvailableEndpoints(javax.jbi.component.ComponentContext context,
                                                                         javax.jbi.messaging.MessageExchange exchange)
                                                                  throws javax.jbi.JBIException
Throws:
javax.jbi.JBIException

getUri

public java.lang.String getUri()

setUri

public void setUri(java.lang.String uri)

createWSAEPR

public static org.w3c.dom.DocumentFragment createWSAEPR(java.lang.String uri)

configureExchange

public static void configureExchange(javax.jbi.messaging.MessageExchange exchange,
                                     javax.jbi.component.ComponentContext context,
                                     java.lang.String uri)

Configures a JBI exchange with the given URI as the target.

Parameters:
exchange - the exchange to configure.
context - a component context used to resolve endpoints.
uri - the target URI.

split3

public static java.lang.String[] split3(java.lang.String uri)

split2

public static java.lang.String[] split2(java.lang.String uri)


Copyright © 2005-2012 FuseSource. All Rights Reserved.