Package edu.indiana.extreme.xbaya

Examples of edu.indiana.extreme.xbaya.XBayaConfiguration


        // XXX Temporally solution to load sample workflows.
        this.myLeadLoadSampleWorkflowItem = new JMenuItem(
                "Load Sample Workflow from MyLead");
        this.myLeadLoadSampleWorkflowItem.setMnemonic(KeyEvent.VK_S);

        XBayaConfiguration config = this.engine.getConfiguration();
        URI url = config.getMyLeadAgentURL();
        String user = config.getMyLeadSampleUser();
        String project = config.getMyLeadSampleProject();
        final MyLeadConfiguration configuration = new MyLeadConfiguration(url,
                user, project);
        boolean valid = configuration.isValid();
        this.myLeadLoadSampleWorkflowItem.setEnabled(valid);
        this.myLeadLoadSampleWorkflowItem
View Full Code Here


   * restore all the field if workflow has been loaded before
   */
  public void show() {
    this.workflow = this.engine.getWorkflow();

    XBayaConfiguration configuration = this.engine.getConfiguration();
    MonitorConfiguration monitorConfiguration = this.engine.getMonitor()
        .getConfiguration();

    // Topic
    String topic = monitorConfiguration.getTopic();
    if (topic != null) {
      this.topicTextField.setText(topic);
    } else {
      this.topicTextField.setText(UUID.randomUUID().toString());
    }

    // XRegistry
    if (null != configuration.getXRegistryURL()) {
      this.xRegistryTextField.setText(configuration.getXRegistryURL());
    } else {
      this.xRegistryTextField
          .setText(XBayaConstants.DEFAULT_XREGISTRY_URL);
    }

    // GFac URL
    this.gfacTextField.setText(configuration.getGFacURL());

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

    } else {
      uriString = uri;
    }
    this.odeUriField.setText(uriString);

    XBayaConfiguration configuration = this.engine.getConfiguration();
    URI xregistryURL = configuration.getXRegistryURL();
    if (xregistryURL == null) {
      xregistryURL = XBayaConstants.DEFAULT_XREGISTRY_URL;
    }
    this.xRegistryTextField.setText(xregistryURL);

    URI proxyURI = configuration.getProxyURI();
    if (null != proxyURI) {
      this.proxyTextField.setText(proxyURI);
    } else {
      this.proxyTextField.setText(XBayaConstants.DEFAULT_PROXY_URI);
    }
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

    xsul5.wsdl.WsdlDefinitions wsdlDefinitions = new xsul5.wsdl.WsdlDefinitions(wsdlElement);
    XBaya xbaya = new XBaya(new String[0]);
    XBayaEngine engine = xbaya.getEngine();
   
    LeadContextHeaderHelper leadContextHelper = new LeadContextHeaderHelper();
    XBayaConfiguration configuration = engine.getConfiguration();
    leadContextHelper.setXBayaConfiguration(configuration);
    leadContextHelper.setMyLeadConfiguration(engine.getMyLead()
        .getConfiguration());
    leadContextHelper.setWorkflowInstanceID(engine.getWorkflow()
        .getGPELInstanceID());
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.