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  Map<String,?> attributes
          The attributes.
private  ClassLoader baseLoader
          The base classloader.
private  List<File> cmds
          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 setAttributes(Map<String,?> attributes)
           
 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
.


cmds

private List<File> cmds
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.


attributes

private Map<String,?> attributes
The attributes.

Constructor Detail

Bootstrap

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

setAttributes

public void setAttributes(Map<String,?> attributes)

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.