org.crsh.plugin
Class PluginLifeCycle

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

public abstract class PluginLifeCycle
extends Object

Controls the life cycle of a plugin manager.

Version:
$Revision$
Author:
Julien Viet

Field Summary
private  PluginContext context
          .
protected  org.slf4j.Logger log
          .
 
Constructor Summary
PluginLifeCycle()
           
 
Method Summary
private  void configureProperty(PluginContext context, Properties props, PropertyDescriptor<?> desc)
           
 PluginContext getContext()
           
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 org.slf4j.Logger log
.


context

private PluginContext context
.

Constructor Detail

PluginLifeCycle

public PluginLifeCycle()
Method Detail

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 © 2012 eXo Platform SAS. All Rights Reserved.