org.crsh.plugin
Class CRaSHPlugin<P>
java.lang.Object
org.crsh.plugin.CRaSHPlugin<P>
- Type Parameters:
P - the plugin type
- Direct Known Subclasses:
- ProcessorIOHandler
public abstract class CRaSHPlugin<P>
- extends Object
Base class for a plugin, that consist of a subclass of this class and the implementation
of the business interface of the plugin. The business interface of the plugin is simply
represented by the P generic parameter and its associated class Class<P>>.
- Version:
- $Revision$
- Author:
- Julien Viet
|
Field Summary |
protected org.slf4j.Logger |
log
. |
log
protected final org.slf4j.Logger log
- .
CRaSHPlugin
protected CRaSHPlugin()
getContext
protected final PluginContext getContext()
getType
public final Class<P> getType()
getImplementation
public abstract P getImplementation()
- Returns the implementation.
- Returns:
- the implementation
init
public void init()
destroy
public void destroy()
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2011 eXo Platform SAS. All Rights Reserved.