org.crsh.term
Class TermLifeCycle

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

public abstract class TermLifeCycle
extends Object

Version:
$Revision$
Author:
Julien Viet

Constructor Summary
protected TermLifeCycle(PluginContext context)
           
 
Method Summary
 void destroy()
           
protected abstract  void doDestroy()
           
protected abstract  void doInit()
           
 PluginContext getContext()
           
 TermIOHandler getHandler()
           
 void init()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TermLifeCycle

protected TermLifeCycle(PluginContext context)
Method Detail

init

public final void init()

destroy

public final void destroy()

getHandler

public final TermIOHandler getHandler()

getContext

public final PluginContext getContext()

doInit

protected abstract void doInit()
                        throws Exception
Throws:
Exception

doDestroy

protected abstract void doDestroy()


Copyright © 2011 eXo Platform SAS. All Rights Reserved.