org.crsh.shell.impl.command
Class CRaSHShellFactory
java.lang.Object
org.crsh.plugin.CRaSHPlugin<ShellFactory>
org.crsh.shell.impl.command.CRaSHShellFactory
- All Implemented Interfaces:
- ShellFactory
public class CRaSHShellFactory
- extends CRaSHPlugin<ShellFactory>
- implements ShellFactory
crash
private CRaSH crash
- .
CRaSHShellFactory
public CRaSHShellFactory()
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.