org.apache.servicemix.jbi.resolver
Class ServiceAndEndpointNameResolver

java.lang.Object
  extended by org.apache.servicemix.jbi.resolver.EndpointResolverSupport
      extended by org.apache.servicemix.jbi.resolver.ServiceAndEndpointNameResolver
All Implemented Interfaces:
org.apache.servicemix.jbi.api.EndpointResolver

public class ServiceAndEndpointNameResolver
extends EndpointResolverSupport

Resolves the endpoint using the service name and endpoint name to resolve the ServiceEndpoint

Version:
$Revision: 564607 $

Constructor Summary
ServiceAndEndpointNameResolver()
           
ServiceAndEndpointNameResolver(QName serviceName, String endpointName)
           
 
Method Summary
protected  javax.jbi.JBIException createServiceUnavailableException()
           
 String getEndpointName()
           
 QName getServiceName()
           
 javax.jbi.servicedesc.ServiceEndpoint[] resolveAvailableEndpoints(javax.jbi.component.ComponentContext context, javax.jbi.messaging.MessageExchange exchange)
           
 void setEndpointName(String endpointName)
           
 void setServiceName(QName serviceName)
           
 
Methods inherited from class org.apache.servicemix.jbi.resolver.EndpointResolverSupport
filterEndpoints, getChooser, isFailIfUnavailable, resolveEndpoint, setChooser, setFailIfUnavailable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceAndEndpointNameResolver

public ServiceAndEndpointNameResolver()

ServiceAndEndpointNameResolver

public ServiceAndEndpointNameResolver(QName serviceName,
                                      String endpointName)
Method Detail

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

getServiceName

public QName getServiceName()

setServiceName

public void setServiceName(QName serviceName)

getEndpointName

public String getEndpointName()

setEndpointName

public void setEndpointName(String endpointName)

createServiceUnavailableException

protected javax.jbi.JBIException createServiceUnavailableException()
Specified by:
createServiceUnavailableException in class EndpointResolverSupport


Copyright © 2005-2008 Apache Software Foundation. All Rights Reserved.