org.crsh.plugin
Class PluginLifeCycle
java.lang.Object
org.crsh.plugin.PluginLifeCycle
- Direct Known Subclasses:
- Bootstrap, Embedded
public abstract class PluginLifeCycle
- extends Object
The base class for managing the CRaSH life cycle.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected final Logger log
- .
context
private PluginContext context
- .
config
private Properties config
- .
PluginLifeCycle
public PluginLifeCycle()
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
configureProperty
private void configureProperty(PluginContext context,
Properties props,
PropertyDescriptor<?> desc)
Copyright © 2015 eXo Platform SAS. All Rights Reserved.