org.crsh.telnet.term
Class TelnetLifeCycle

java.lang.Object
  extended by org.crsh.term.TermLifeCycle
      extended by org.crsh.telnet.term.TelnetLifeCycle

public class TelnetLifeCycle
extends TermLifeCycle

Version:
$Revision$
Author:
Julien Viet

Field Summary
private  URL configURL
          .
private  List<PortListener> listeners
          .
private  org.slf4j.Logger log
          .
private static ConcurrentHashMap<ConnectionManager,TelnetLifeCycle> map
          .
private  Integer port
          .
 
Constructor Summary
TelnetLifeCycle(PluginContext context)
           
 
Method Summary
protected  void doDestroy()
           
protected  void doInit()
           
 URL getConfigURL()
           
(package private) static TelnetLifeCycle getLifeCycle(Connection conn)
           
 Integer getPort()
           
 void setConfigURL(URL configURL)
           
 void setPort(Integer port)
           
 
Methods inherited from class org.crsh.term.TermLifeCycle
destroy, getContext, getHandler, init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

private final org.slf4j.Logger log
.


port

private Integer port
.


listeners

private List<PortListener> listeners
.


map

private static final ConcurrentHashMap<ConnectionManager,TelnetLifeCycle> map
.


configURL

private URL configURL
.

Constructor Detail

TelnetLifeCycle

public TelnetLifeCycle(PluginContext context)
Method Detail

getLifeCycle

static TelnetLifeCycle getLifeCycle(Connection conn)

getPort

public Integer getPort()

setPort

public void setPort(Integer port)

getConfigURL

public URL getConfigURL()

setConfigURL

public void setConfigURL(URL configURL)

doInit

protected void doInit()
               throws Exception
Specified by:
doInit in class TermLifeCycle
Throws:
Exception

doDestroy

protected void doDestroy()
Specified by:
doDestroy in class TermLifeCycle


Copyright © 2012 eXo Platform SAS. All Rights Reserved.