Examples of AbstractServiceEndpoint


Examples of org.mule.jbi.servicedesc.AbstractServiceEndpoint

    // the iterator for a CopyOnWriteArrayList support
    // concurrent modifications.
    // We can not use the Iterator.remove method as it is not
    // supported on the CopyOnWrite iterator.
    for (Iterator it = endpoints.iterator(); it.hasNext();) {
      AbstractServiceEndpoint se = (AbstractServiceEndpoint) it.next();
      if (component.equals(se.getComponent())) {
        endpoints.remove(se);
      }
    }
  }
View Full Code Here

Examples of org.servicemix.jbi.servicedesc.AbstractServiceEndpoint

     */
    public Document getEndpointDescriptor(ServiceEndpoint endpoint) throws JBIException {
        if (endpoint instanceof AbstractServiceEndpoint == false) {
            throw new JBIException("Descriptors can not be queried for external endpoints");
        }
        AbstractServiceEndpoint se = (AbstractServiceEndpoint) endpoint;
        Component component = componentRegistry.getComponent(se.getComponentNameSpace());
        return component.getServiceDescription(endpoint);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.