org.crsh.standalone
Class Bootstrap

java.lang.Object
  extended by org.crsh.plugin.PluginLifeCycle
      extended by org.crsh.standalone.Bootstrap

public class Bootstrap
extends PluginLifeCycle

Version:
$Revision$
Author:
Julien Viet

Field Summary
private  ClassLoader baseLoader
          The base classloader.
private  List<File> bins
          The mounted path on the file system.
private  List<File> confs
          The mounted path on the file system.
private  List<File> jars
          The class path.
protected  org.slf4j.Logger log
          .
 
Constructor Summary
Bootstrap(ClassLoader baseLoader)
           
 
Method Summary
 Bootstrap addCmdPath(File file)
           
 Bootstrap addConfPath(File file)
           
 Bootstrap addJarPath(File file)
           
 void bootstrap()
           
 void shutdown()
           
 
Methods inherited from class org.crsh.plugin.PluginLifeCycle
getConfig, getContext, setConfig, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected final org.slf4j.Logger log
.


bins

private List<File> bins
The mounted path on the file system.


confs

private List<File> confs
The mounted path on the file system.


jars

private List<File> jars
The class path.


baseLoader

private ClassLoader baseLoader
The base classloader.

Constructor Detail

Bootstrap

public Bootstrap(ClassLoader baseLoader)
          throws NullPointerException
Throws:
NullPointerException
Method Detail

addConfPath

public Bootstrap addConfPath(File file)

addCmdPath

public Bootstrap addCmdPath(File file)

addJarPath

public Bootstrap addJarPath(File file)

bootstrap

public void bootstrap()
               throws Exception
Throws:
Exception

shutdown

public void shutdown()


Copyright © 2012 eXo Platform SAS. All Rights Reserved.