Examples of SlaveServerConfig


Examples of org.pentaho.di.www.SlaveServerConfig

          new File( PentahoSystem.getApplicationContext().getSolutionPath( slaveServerConfigFilename ) );
      if ( slaveServerConfigFile.exists() ) {
        InputStream is = new FileInputStream( slaveServerConfigFile );
        Document document = DocumentBuilderFactory.newInstance().newDocumentBuilder().parse( is );
        Node configNode = XMLHandler.getSubNode( document, SlaveServerConfig.XML_TAG );
        SlaveServerConfig config = new SlaveServerConfig( new LogChannel( "Slave server config" ), configNode );
        config.setFilename( slaveServerConfigFile.getAbsolutePath() );
        SlaveServer slaveServer = new SlaveServer();
        config.setSlaveServer( slaveServer );
        CarteSingleton.setSlaveServerConfig( config );
      }
    } catch ( Throwable t ) {
      t.printStackTrace();
      Logger.error( KettleSystemListener.class.getName(), t.getMessage() );
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.