org.apache.servicemix.jbi.resolver
Class URIResolver
java.lang.Object
org.apache.servicemix.jbi.resolver.EndpointResolverSupport
org.apache.servicemix.jbi.resolver.URIResolver
- All Implemented Interfaces:
- org.apache.servicemix.jbi.api.EndpointResolver
public class URIResolver
- extends EndpointResolverSupport
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
URIResolver
public URIResolver()
URIResolver
public URIResolver(String uri)
createServiceUnavailableException
protected javax.jbi.JBIException createServiceUnavailableException()
- Specified by:
createServiceUnavailableException in class EndpointResolverSupport
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 String getUri()
- Returns:
- the uri
setUri
public void setUri(String uri)
- Parameters:
uri - the uri to set
createWSAEPR
public static DocumentFragment createWSAEPR(String uri)
configureExchange
public static void configureExchange(javax.jbi.messaging.MessageExchange exchange,
javax.jbi.component.ComponentContext context,
String uri)
- Configure a JBI exchange with the given URI as the target
- Parameters:
exchange - the exchange to configurecontext - a component context used to resolve endpointsuri - the target uri
split3
public static String[] split3(String uri)
split2
public static String[] split2(String uri)
Copyright © 2005-2008 Apache Software Foundation. All Rights Reserved.