Class CommandFactoryImpl

  • All Implemented Interfaces:
    org.apache.sshd.server.command.CommandFactory

    public class CommandFactoryImpl
    extends Object
    implements org.apache.sshd.server.command.CommandFactory
    Use SshCommandFactorys to find the right implementation for the exec request from SSH clients.
    Author:
    Kohsuke Kawaguchi
    • Constructor Detail

      • CommandFactoryImpl

        public CommandFactoryImpl()
    • Method Detail

      • createCommand

        public org.apache.sshd.server.command.Command createCommand​(org.apache.sshd.server.channel.ChannelSession channel,
                                                                    String command)
        Specified by:
        createCommand in interface org.apache.sshd.server.command.CommandFactory