1 17 package org.apache.servicemix.common; 18 19 import javax.jbi.servicedesc.ServiceEndpoint; 20 import javax.xml.namespace.QName ; 21 22 23 public class EndpointSupport { 24 25 public static String getKey(QName service, String endpoint) { 26 return org.apache.servicemix.jbi.servicedesc.EndpointSupport.getKey(service, endpoint); 27 } 28 29 public static String getKey(ServiceEndpoint endpoint) { 30 return getKey(endpoint.getServiceName(), endpoint.getEndpointName()); 31 } 32 33 public static String getKey(Endpoint endpoint) { 34 return getKey(endpoint.getService(), endpoint.getEndpoint()); 35 } 36 37 } 38 | Popular Tags |