org.crsh.telnet.term.processor
Class ProcessorIOHandler

java.lang.Object
  extended by org.crsh.plugin.CRaSHPlugin<TermIOHandler>
      extended by org.crsh.telnet.term.processor.ProcessorIOHandler
All Implemented Interfaces:
TermIOHandler

public class ProcessorIOHandler
extends CRaSHPlugin<TermIOHandler>
implements TermIOHandler


Field Summary
private  ShellFactory factory
          .
 
Fields inherited from class org.crsh.plugin.CRaSHPlugin
CONSTRUCTED, FAILED, INITIALIZED, INITIALIZING, log
 
Constructor Summary
ProcessorIOHandler()
           
 
Method Summary
 void destroy()
          Implement this method to know about destroy life cycle callback.
 TermIOHandler getImplementation()
          Returns the implementation.
 void handle(TermIO io, Principal user)
          Handle an IO for the specified termi IO and user principal.
 void init()
          Implement this method to know about init life cycle callback.
 
Methods inherited from class org.crsh.plugin.CRaSHPlugin
createConfigurationCapabilities, getConfigurationCapabilities, getContext, getStatus, getType, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

factory

private ShellFactory factory
.

Constructor Detail

ProcessorIOHandler

public ProcessorIOHandler()
Method Detail

getImplementation

public TermIOHandler getImplementation()
Description copied from class: CRaSHPlugin
Returns the implementation.

Specified by:
getImplementation in class CRaSHPlugin<TermIOHandler>
Returns:
the implementation

init

public void init()
Description copied from class: CRaSHPlugin
Implement this method to know about init life cycle callback.

Overrides:
init in class CRaSHPlugin<TermIOHandler>

destroy

public void destroy()
Description copied from class: CRaSHPlugin
Implement this method to know about destroy life cycle callback.

Overrides:
destroy in class CRaSHPlugin<TermIOHandler>

handle

public void handle(TermIO io,
                   Principal user)
Description copied from interface: TermIOHandler
Handle an IO for the specified termi IO and user principal.

Specified by:
handle in interface TermIOHandler
Parameters:
io - the io
user - the principal


Copyright © 2015 eXo Platform SAS. All Rights Reserved.