ChannelSession
| Modifier and Type | Field and Description |
|---|---|
| protected final ShellFactory | |
| protected final Collection |
| Access | Constructor and Description |
|---|---|
| public | AggregateShellFactory(Collection<? extends ShellFactorySelector>
Selector selectors)ShellFactorySelector-s being consulted whether they wish to provide a
ShellFactory for the provided ChannelSession argument. If a selector returns
null then the next in line is consulted. If no match found then the default
InteractiveProcessShellFactory is used
|
| public | AggregateShellFactory(Collection<? extends ShellFactorySelector>
Selector selectors, ShellFactory ShellFactorySelector-s being consulted whether they wish to provide a
ShellFactory for the provided ChannelSession argument. If a selector
returns null then the next in line is consulted.The (mandatory) default defaultFactory)ShellFactory to use if no selector matched
|
| Modifier and Type | Method and Description |
|---|---|
| public Command | createShell(ChannelSession
The channel)ChannelSession through which the command has been receivedImplements org.
|
| public ShellFactory |
| defaultFactory | back to summary |
|---|---|
| protected final ShellFactory defaultFactory | |
| selectors | back to summary |
|---|---|
| protected final Collection<? extends ShellFactorySelector> selectors | |
| AggregateShellFactory | back to summary |
|---|---|
public AggregateShellFactory(Collection<? extends ShellFactorySelector> selectors)
| |
| AggregateShellFactory | back to summary |
|---|---|
public AggregateShellFactory(Collection<? extends ShellFactorySelector> selectors, ShellFactory defaultFactory)
| |
| createShell | back to summary |
|---|---|
| public Command createShell(ChannelSession channel) throws IOException Implements org.
| |
| selectShellFactory | back to summary |
|---|---|
| public ShellFactory selectShellFactory(ChannelSession channel) throws IOException Implements org.
| |