org.crsh.plugin
Class PluginLifeCycle

java.lang.Object
  extended by org.crsh.plugin.PluginLifeCycle
Direct Known Subclasses:
Bootstrap, Embedded

public abstract class PluginLifeCycle
extends Object

The base class for managing the CRaSH life cycle.


Field Summary
protected  Logger log
          .
 
Constructor Summary
PluginLifeCycle()
           
 
Method Summary
 Properties getConfig()
           
 PluginContext getContext()
           
 void setConfig(Properties config)
           
protected  void start(PluginContext context)
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected final Logger log
.

Constructor Detail

PluginLifeCycle

public PluginLifeCycle()
Method Detail

getConfig

public Properties getConfig()

setConfig

public void setConfig(Properties config)

getContext

public PluginContext getContext()

start

protected final void start(PluginContext context)
                    throws IllegalStateException
Throws:
IllegalStateException

stop

public final void stop()
                throws IllegalStateException
Throws:
IllegalStateException


Copyright © 2015 eXo Platform SAS. All Rights Reserved.