Examples of URLComponentRegistry


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

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

  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

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

    //
    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

Examples of org.apache.airavata.workflow.model.component.registry.URLComponentRegistry

        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"));
            ComponentRegistryLoader.getLoader(this.engine, RegistryConstants.REGISTRY_TYPE_URL).load(registry);

            Node newNode = this.engine
                    .getGUI()
View Full Code Here

Examples of org.apache.airavata.workflow.model.component.registry.URLComponentRegistry

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

        URLComponentRegistry registry = new URLComponentRegistry(url);

        hide();

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

Examples of org.apache.airavata.workflow.model.component.url.URLComponentRegistry

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

        URLComponentRegistry registry = new URLComponentRegistry(url);

        hide();

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

Examples of org.apache.airavata.workflow.model.component.url.URLComponentRegistry

        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"));
            ComponentRegistryLoader.getLoader(this.engine, RegistryConstants.REGISTRY_TYPE_URL).load(registry);

            Node newNode = this.engine
                    .getGUI()
View Full Code Here

Examples of org.apache.airavata.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

Examples of org.apache.airavata.xbaya.component.registry.URLComponentRegistry

        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"));
            ComponentRegistryLoader.getLoader(this.engine, RegistryConstants.REGISTRY_TYPE_URL).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
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.