Package org.apache.airavata.xbaya

Examples of org.apache.airavata.xbaya.ThriftClientData


        setServerPort(this.portTextField.getText());
        setServiceType((ThriftServiceType)serviceTypeModel.getSelectedItem());
        try {
      validateData();
      XBayaConfiguration configuration = this.engine.getConfiguration();
          configuration.addThriftClientData(new ThriftClientData(getServiceType(),serverName, Integer.parseInt(serverPort),gatewayName, username));
          hide();
    } catch (Exception e) {
            this.engine.getGUI().getErrorWindow().error(e.getMessage());
    }
    }
View Full Code Here


        this.portTextField = new XBayaTextField();
        this.gatewayNameTextField = new XBayaTextField();
        this.usernameTextField = new XBayaTextField();
        this.serverTextField.setText("localhost");
        this.portTextField.setText("8930");
        ThriftClientData thriftClientData = engine.getConfiguration().getThriftClientData(ThriftServiceType.WORKFLOW_SERVICE);
      if (thriftClientData!=null){
        this.serverTextField.setText(thriftClientData.getServerAddress());
            this.gatewayNameTextField.setText(thriftClientData.getGatewayId());
            this.portTextField.setText(String.valueOf(thriftClientData.getServerPort()));
            this.usernameTextField.setText(thriftClientData.getUsername());
      }

        try {
            ClientSettings.initializeTrustStore();
        } catch (ApplicationSettingsException e) {
View Full Code Here

TOP

Related Classes of org.apache.airavata.xbaya.ThriftClientData

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.