Package edu.indiana.extreme.xbaya.component.registry

Examples of edu.indiana.extreme.xbaya.component.registry.URLComponentRegistry


        } catch (URISyntaxException e) {
            this.engine.getErrorWindow().error(ErrorMessages.URL_WRONG, e);
            return;
        }

        URLComponentRegistry registry = new URLComponentRegistry(url);
       
        hide();

        this.loader.load(registry);
    }
View Full Code Here


  private void deployWebservice(){
    try {
      DynamicServiceCreator factory = new DynamicServiceCreator("http://129.79.246.108:8080/axis2/services/ServiceCreator?wsdl");
      String code = this.javaCodeTxtArea.getText();
      factory.createService(code);
      URLComponentRegistry registry = null;
      Thread.sleep(10000);
      registry = new URLComponentRegistry(new URI("http://129.79.246.108:8080/axis2/services/"+getClassName(code)+"?wsdl"));
      new ComponentRegistryLoader(engine).load(registry);
   
      Node newNode = this.engine.getGUI().getGraphCanvas().addNode(((ComponentTreeNode)registry.getComponentTree().getFirstLeaf()).getComponentReference().getComponent(), this.node.getPosition());
      List<DataPort> inputPorts = newNode.getInputPorts();
      Graph graph = this.engine.getGUI().getGraphCanvas().getGraph();
      for (int i=0; i<inputPorts.size(); ++i) {
        graph.addEdge(this.node.getInputPort(i).getFromPort(), inputPorts.get(i));
      }
View Full Code Here

    //
    this.engine.getWorkflow().getWSDLs().put(
        ((StreamReceiveNode) workflowNode).getWSDLID(),
        oldWorkflow.getOdeWorkflowWSDL(null, null));

    URLComponentRegistry serviceRegistry = new URLComponentRegistry(
        new URI(
            "https://pagodatree.cs.indiana.edu:17443/axis2/services/CEPService?wsdl"));

    new ComponentRegistryLoader(engine).load(serviceRegistry);
    ComponentTreeNode cepComponent = (ComponentTreeNode) serviceRegistry
        .getComponentTree().getChildAt(0);

    Node cepNode = canvas.addNode(cepComponent.getComponentReference()
        .getComponent(), new Point(300, 50));
View Full Code Here

TOP

Related Classes of edu.indiana.extreme.xbaya.component.registry.URLComponentRegistry

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.