Package edu.indiana.extreme.xbaya

Examples of edu.indiana.extreme.xbaya.XBayaConfiguration


      this.topicTextField.setText(UUID.randomUUID().toString());
    }else{
      this.topicTextField.setText(notifConfig.getTopic());
    }

    XBayaConfiguration config = this.engine.getConfiguration();

    URI gfacURL = config.getGFacURL();
    this.gfacTextField.setText(StringUtil.toString(gfacURL));

    this.dialog.show();
  }
View Full Code Here


      String value = parameterTextField.getText();
      arguments.add("-" + id);
      arguments.add(value);
    }

    XBayaConfiguration config = this.engine.getConfiguration();

    String gfacString = this.gfacTextField.getText();
    if (gfacString.length() != 0) {
      try {
        URI uri = new URI(gfacString).parseServerAuthority();
        config.setGFacURL(uri);
      } catch (URISyntaxException e) {
        this.engine.getErrorWindow().error(
            ErrorMessages.GFAC_URL_WRONG, e);
        return;
      }
View Full Code Here

    this.parameterPanel.layout(inputNodes.size(), 3, GridPanel.WEIGHT_NONE,
        2);

    this.topicTextField.setText(UUID.randomUUID().toString());

    XBayaConfiguration config = this.engine.getConfiguration();
    this.gfacTextField.setText(config.getGFacURL().toString());
    URI workflowInterpreterURL = config.getWorkflowInterpreterURL();
    if (null != workflowInterpreterURL) {
      this.workflowInterpreterTextField.setText(workflowInterpreterURL.toString());
    } else {
      this.workflowInterpreterTextField
          .setText(XBayaConstants.DEFAULT_WORKFLOW_INTERPRETER_URL);
    }

    URI registryURL = config.getXRegistryURL();
    if (null != registryURL) {
      this.xRegistryTextField.setText(registryURL.toString());
    } else {
      this.xRegistryTextField
          .setText(XBayaConstants.DEFAULT_XREGISTRY_URL);
View Full Code Here

    JFrame.setDefaultLookAndFeelDecorated(false);
    this.frame = new JFrame();

    // Adjust the size
    XBayaConfiguration config = this.engine.getConfiguration();
    int width = config.getWidth();
    int height = config.getHeight();
    Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
    final int inset = 50;
    this.frame.setLocation(inset, inset);
    Dimension size = new Dimension(screenSize.width - inset * 2,
        screenSize.height - inset * 2);
 
View Full Code Here

            return;
        }

        MonitorConfiguration monitorConfiguration = this.engine.getMonitor()
                .getConfiguration();
        XBayaConfiguration xbayaConfiguration = this.engine.getConfiguration();
        WsdlDefinitions wsdl;
        try {
            GcInstance instance = client.instantiate(workflow,
                    xbayaConfiguration.getDSCURL(), monitorConfiguration
                            .getTopic());
            wsdl = client.start(instance);
        } catch (WorkflowEngineException e) {
            if (this.canceled) {
                logger.caught(e);
View Full Code Here

    this.parameterPanel.layout(inputNodes.size(), 3, GridPanel.WEIGHT_NONE,
        2);

    this.topicTextField.setText(notifConfig.getTopic());

    XBayaConfiguration config = this.engine.getConfiguration();

    this.dialog.show();
  }
View Full Code Here

        this.parameterPanel.layout(inputNodes.size(), 3, GridPanel.WEIGHT_NONE,
                2);

        this.topicTextField.setText(notifConfig.getTopic());

        XBayaConfiguration config = this.engine.getConfiguration();
        this.gfacTextField.setText(config.getGFacURL().toString());
        URI registryURL = config.getXRegistryURL();
        if(null != registryURL){
          this.xRegistryTextField.setText(registryURL.toString());
        }else{
          this.xRegistryTextField.setText(XBayaConstants.DEFAULT_XREGISTRY_URL);
        }
View Full Code Here

        WSIFAsyncResponsesCorrelator correlator;
        correlator = null;

        // pass some headers
        LeadContextHeaderHelper helper = new LeadContextHeaderHelper();
        helper.setXBayaConfiguration(new XBayaConfiguration());
        LeadContextHeader leadContext = helper.getLeadContextHeader();
        leadContext.setWorkflowId(URI
                .create("http://host/2005/11/09/workflowinstace"));
        leadContext.setNodeId("decoder1");
        leadContext.setTimeStep("5");
View Full Code Here

        WSIFAsyncResponsesCorrelator correlator;
        correlator = null;

        // pass some headers
        LeadContextHeaderHelper helper = new LeadContextHeaderHelper();
        helper.setXBayaConfiguration(new XBayaConfiguration());
        LeadContextHeader leadContext = helper.getLeadContextHeader();
        leadContext.setWorkflowId(URI
                .create("http://host/2005/11/09/workflowinstace"));
        leadContext.setNodeId("decoder1");
        leadContext.setTimeStep("5");
View Full Code Here

        WSIFAsyncResponsesCorrelator correlator;
        correlator = null;

        // pass some headers
        LeadContextHeaderHelper helper = new LeadContextHeaderHelper();
        helper.setXBayaConfiguration(new XBayaConfiguration());
        LeadContextHeader leadContext = helper.getLeadContextHeader();
        leadContext.setWorkflowId(URI
                .create("http://host/2005/11/09/workflowinstace"));
        leadContext.setNodeId("decoder1");
        leadContext.setTimeStep("5");
View Full Code Here

TOP

Related Classes of edu.indiana.extreme.xbaya.XBayaConfiguration

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.