org.crsh.shell.impl.command
Class CRaSHShellFactory

java.lang.Object
  extended by org.crsh.plugin.CRaSHPlugin<ShellFactory>
      extended by org.crsh.shell.impl.command.CRaSHShellFactory
All Implemented Interfaces:
ShellFactory

public class CRaSHShellFactory
extends CRaSHPlugin<ShellFactory>
implements ShellFactory


Field Summary
private  CRaSH crash
          .
 
Fields inherited from class org.crsh.plugin.CRaSHPlugin
CONSTRUCTED, FAILED, INITIALIZED, INITIALIZING, log
 
Constructor Summary
CRaSHShellFactory()
           
 
Method Summary
 Shell create(Principal principal)
          Create a shell object ready to be used.
 Shell create(Principal principal, boolean async)
           
 ShellFactory getImplementation()
          Returns the implementation.
 void init()
          Implement this method to know about init life cycle callback.
 
Methods inherited from class org.crsh.plugin.CRaSHPlugin
createConfigurationCapabilities, destroy, getConfigurationCapabilities, getContext, getStatus, getType, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

crash

private CRaSH crash
.

Constructor Detail

CRaSHShellFactory

public CRaSHShellFactory()
Method Detail

init

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

Overrides:
init in class CRaSHPlugin<ShellFactory>

getImplementation

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

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

create

public Shell create(Principal principal,
                    boolean async)

create

public Shell create(Principal principal)
Description copied from interface: ShellFactory
Create a shell object ready to be used.

Specified by:
create in interface ShellFactory
Parameters:
principal - the user principal it may be null in case of an unauthenticated user
Returns:
the shell instance


Copyright © 2015 eXo Platform SAS. All Rights Reserved.