Package edu.indiana.extreme.xbaya.gpel.gui

Examples of edu.indiana.extreme.xbaya.gpel.gui.GPELInvoker


*/
public class GPELInvokeSetupForTesting extends GPELInvokeWindow {
 
  public GPELInvokeSetupForTesting(XBayaEngine engine, String topic){
    this.engine = engine;
    this.invoker = new GPELInvoker(engine);
    this.myProxyChecker = new MyProxyChecker(this.engine);
    init(topic);
  }
View Full Code Here


                .getConfiguration();
        String newTopic = monitorConfiguration.getTopic() + "-diff";
        monitorConfiguration.setTopic(newTopic);

        // Invoke the workflow without showing the dialog.
        GPELInvoker invoker = new GPELInvoker(this.engine);

        try {
            WorkflowClient.createScript(diffWorkflow);
        } catch (GraphException e) {
            this.engine.getErrorWindow().error(e); // TODO
            return;
        }

        // Create a GUI without depending on the graph.

        // Set the default as an input.
        List<WSComponentPort> inputs;
        try {
            inputs = diffWorkflow.getInputs();
        } catch (ComponentException e) {
            // This should not happen when we create WSDL here, but if we use
            // precompiled workflow, it might happen.
            this.engine.getErrorWindow().error(
                    ErrorMessages.WORKFLOW_WSDL_ERROR, e);
            return;
        }
        for (WSComponentPort input : inputs) {
            String defaultValue = input.getDefaultValue();
            input.setValue(defaultValue);
        }

        invoker.invoke(diffWorkflow, inputs, true);

        // Change the ID of current display so that we can keep monitoring.
        URI instanceID = diffWorkflow.getGPELInstanceID();
        workflow.setGPELInstanceID(instanceID);
    }
View Full Code Here

TOP

Related Classes of edu.indiana.extreme.xbaya.gpel.gui.GPELInvoker

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.