org.crsh.term
Class CRaSHLifeCycle

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

public abstract class CRaSHLifeCycle
extends java.lang.Object

Version:
$Revision$
Author:
Julien Viet

Constructor Summary
protected CRaSHLifeCycle(ShellContext context)
           
 
Method Summary
 void destroy()
           
protected abstract  void doDestroy()
           
protected abstract  void doInit()
           
 java.util.concurrent.ExecutorService getExecutor()
           
 ShellContext 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(ShellContext context)
Method Detail

init

public final void init()

destroy

public final void destroy()

getExecutor

public final java.util.concurrent.ExecutorService getExecutor()

getShellFactory

public final ShellFactory getShellFactory()

getShellContext

public final ShellContext getShellContext()

doInit

protected abstract void doInit()
                        throws java.lang.Exception
Throws:
java.lang.Exception

doDestroy

protected abstract void doDestroy()


Copyright © 2010 eXo Platform SAS. All Rights Reserved.