public I getInterface() { return this.binding.getInterface(); }
public O getOperation() { AbsItfInterfaceType interfaceType = this.binding.getInterface(); QName name = new QName(interfaceType.getQName().getNamespaceURI(), this.getQName().getLocalPart()); return (O) this.binding.getInterface().getOperation(name); }
public List<Ep> findEndpointsImplementingInterface(I itf) { List<Ep> endpoints = new ArrayList<Ep>(); if (itf != null) { for (S service : this.getServices()) { for (Ep endpoint : (List<Ep>) service.getEndpoints()) { if ((endpoint.getBinding() != null) && (endpoint.getBinding().getInterface() != null)) { if ((endpoint.getBinding().getInterface().getQName().getLocalPart().equals(itf.getQName().getLocalPart())) && (endpoint.getBinding().getInterface().getQName().getNamespaceURI().equals(itf.getQName().getNamespaceURI()))) { endpoints.add(endpoint); } } } } } return endpoints; }