1 17 package org.apache.servicemix.jbi.servicedesc; 18 19 import org.apache.servicemix.jbi.framework.ComponentNameSpace; 20 import org.w3c.dom.DocumentFragment ; 21 22 import javax.jbi.servicedesc.ServiceEndpoint; 23 import javax.xml.namespace.QName ; 24 25 32 public class ExternalEndpoint extends AbstractServiceEndpoint { 33 34 37 private static final long serialVersionUID = 4257588916448457889L; 38 39 protected final ServiceEndpoint se; 40 41 public ExternalEndpoint(ComponentNameSpace cns, ServiceEndpoint se) { 42 super(cns); 43 this.se = se; 44 } 45 46 49 public DocumentFragment getAsReference(QName operationName) { 50 return se.getAsReference(operationName); 51 } 52 53 56 public String getEndpointName() { 57 return se.getEndpointName(); 58 } 59 60 63 public QName [] getInterfaces() { 64 return se.getInterfaces(); 65 } 66 67 70 public QName getServiceName() { 71 return se.getServiceName(); 72 } 73 74 77 public boolean equals(Object obj) { 78 return se.equals(obj); 79 } 80 81 84 public int hashCode() { 85 return se.hashCode(); 86 } 87 88 } 89 | Popular Tags |