Package org.mule.jbi.servicedesc

Examples of org.mule.jbi.servicedesc.InternalEndpointImpl


    this.registry = context.getRegistry();
    this.endpoints = endpoints;
  }
 
  public ServiceEndpoint activateEndpoint(QName serviceName, String endpointName) throws JBIException {
    InternalEndpointImpl se = new InternalEndpointImpl();
    se.setServiceName(serviceName);
    se.setEndpointName(endpointName);
    se.setComponent(this.component.getName());
    se.setActive(true);
    this.endpoints.registerInternalEndpoint(se);
    return se;
  }
View Full Code Here


    List ses = new ArrayList();
    for (Iterator it = endpoints.iterator(); it.hasNext();) {
      ServiceEndpoint se = (ServiceEndpoint) it.next();
      QName[] itfs = se.getInterfaces();
      if (itfs == null && se instanceof InternalEndpointImpl) {
        InternalEndpointImpl ie = (InternalEndpointImpl) se;
        RegistryComponent component = JbiContainer.Factory.getInstance().getRegistry().getComponent(ie.getComponent());
        Document doc = ((Component)component.getComponent()).getServiceDescription(ie);
        ie.parseWsdl(doc);
        itfs = se.getInterfaces();
      }
      if (itfs != null) {
        for (int i = 0; i < itfs.length; i++) {
          if (itfs[i].equals(interfaceName)) {
View Full Code Here

TOP

Related Classes of org.mule.jbi.servicedesc.InternalEndpointImpl

Copyright © 2018 www.massapicom. 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.