org.crsh.term
Class CRaSHLifeCycle

java.lang.Object
  extended by org.crsh.term.CRaSHLifeCycle
Direct Known Subclasses:
SSHLifeCycle

public abstract class CRaSHLifeCycle
extends Object

Version:
$Revision$
Author:
Julien Viet

Constructor Summary
protected CRaSHLifeCycle(PluginContext context)
           
 
Method Summary
 void destroy()
           
protected abstract  void doDestroy()
           
protected abstract  void doInit()
           
 ExecutorService getExecutor()
           
 PluginContext getShellContext()
           
 ShellFactory getShellFactory()
           
 void init()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CRaSHLifeCycle

protected CRaSHLifeCycle(PluginContext context)
Method Detail

init

public final void init()

destroy

public final void destroy()

getExecutor

public final ExecutorService getExecutor()

getShellFactory

public final ShellFactory getShellFactory()

getShellContext

public final PluginContext getShellContext()

doInit

protected abstract void doInit()
                        throws Exception
Throws:
Exception

doDestroy

protected abstract void doDestroy()


Copyright © 2011 eXo Platform SAS. All Rights Reserved.