Package gri.gridp.modules.managers

Examples of gri.gridp.modules.managers.SimpleModuleManager


    SshScriptTask runScript = new SshScriptTask(sessionFactory, scriptFile, execCmd);
    return new GridpTaskManager(moduleManager, runScript);
  }
 
  public ModuleManager getModuleManager() {
    return new SimpleModuleManager(moduleFolder);
  }
View Full Code Here


    this.runScriptTask = runScriptTask;
   
    this.entries = new HashMap(100);
  }
  public GridpTaskManager(File moduleDir, Task runScriptTask) {
    this(new SimpleModuleManager(moduleDir), runScriptTask);
  }
View Full Code Here

    Element dirElem = elem.getChild("directory");
    if (dirElem == null)
      throw new IOException("SimpleModuleManager missing required 'directory' element");

    File moduleDir = new File(dirElem.getText());
    return new SimpleModuleManager(moduleDir);
  }
View Full Code Here

TOP

Related Classes of gri.gridp.modules.managers.SimpleModuleManager

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.