org.crsh.telnet.term
Class TermLifeCycle

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

public abstract class TermLifeCycle
extends Object


Field Summary
private  PluginContext context
          .
 
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
 

Field Detail

context

private final PluginContext context
.

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