Interface ServerFactoryManager

All Superinterfaces:
AttributeRepository, AttributeStore, ChannelListenerManager, ChannelStreamWriterResolver, ChannelStreamWriterResolverManager, FactoryManager, IoServiceEventListenerManager, KexExtensionHandlerManager, KexFactoryManager, KeyPairProviderHolder, PortForwardingEventListenerManager, PropertyResolver, ReservedSessionMessagesManager, ServerAuthenticationManager, ServerProxyAcceptorHolder, SessionDisconnectHandlerManager, SessionHeartbeatController, SessionListenerManager, SignatureFactoriesHolder, SignatureFactoriesManager, UnknownChannelReferenceHandlerManager, UserAuthFactoriesManager<ServerSession,UserAuth,UserAuthFactory>
All Known Implementing Classes:
SshServer

public interface ServerFactoryManager extends FactoryManager, ServerProxyAcceptorHolder, ServerAuthenticationManager
The ServerFactoryManager enable the retrieval of additional configuration needed specifically for the server side.
Author:
Apache MINA SSHD Project
  • Method Details

    • getShellFactory

      ShellFactory getShellFactory()
      Retrieve the ShellFactory object to be used to create shells.
      Returns:
      a valid ShellFactory object or null if shells are not supported on this server
    • getCommandFactory

      CommandFactory getCommandFactory()
      Retrieve the CommandFactory to be used to process commands requests.
      Returns:
      A valid CommandFactory object or null if commands are not supported on this server
    • getSubsystemFactories

      List<? extends SubsystemFactory> getSubsystemFactories()
      Retrieve the list of named factories for CommandFactory.Command to be used to create subsystems.
      Returns:
      a list of named SubsystemFactory-ies or null/empty if subsystems are not supported on this server