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.-
Nested Class Summary
Nested classes/interfaces inherited from interface AttributeRepository
AttributeRepository.AttributeKey<T>Nested classes/interfaces inherited from interface SessionHeartbeatController
SessionHeartbeatController.HeartbeatType -
Field Summary
Fields inherited from interface ChannelStreamWriterResolver
NONEFields inherited from interface FactoryManager
DEFAULT_VERSIONFields inherited from interface PropertyResolver
EMPTY -
Method Summary
Modifier and TypeMethodDescriptionRetrieve theCommandFactoryto be used to process commands requests.Retrieve theShellFactoryobject to be used to create shells.List<? extends SubsystemFactory> Retrieve the list of named factories forCommandFactory.Commandto be used to create subsystems.Methods inherited from interface AttributeRepository
attributeKeys, getAttribute, getAttributesCountMethods inherited from interface AttributeStore
clearAttributes, computeAttributeIfAbsent, removeAttribute, setAttributeMethods inherited from interface ChannelListenerManager
addChannelListener, getChannelListenerProxy, removeChannelListenerMethods inherited from interface ChannelStreamWriterResolverManager
getChannelStreamWriterResolver, resolveChannelStreamWriter, resolveChannelStreamWriterResolver, setChannelStreamWriterResolverMethods inherited from interface FactoryManager
getAgentFactory, getAgentForwardingFilter, getChannelFactories, getFileSystemFactory, getForwarderFactory, getForwardingFilter, getGlobalRequestHandlers, getIoServiceFactory, getRandomFactory, getScheduledExecutorService, getServiceFactories, getTcpForwardingFilter, getVersion, getX11ForwardingFilter, resolveAttributeMethods inherited from interface IoServiceEventListenerManager
getIoServiceEventListener, setIoServiceEventListenerMethods inherited from interface KexExtensionHandlerManager
getKexExtensionHandler, setKexExtensionHandlerMethods inherited from interface KexFactoryManager
getCipherFactories, getCipherFactoriesNameList, getCipherFactoriesNames, getCompressionFactories, getCompressionFactoriesNameList, getCompressionFactoriesNames, getKeyExchangeFactories, getMacFactories, getMacFactoriesNameList, getMacFactoriesNames, setCipherFactories, setCipherFactoriesNameList, setCipherFactoriesNames, setCipherFactoriesNames, setCompressionFactories, setCompressionFactoriesNameList, setCompressionFactoriesNames, setCompressionFactoriesNames, setKeyExchangeFactories, setMacFactories, setMacFactoriesNameList, setMacFactoriesNames, setMacFactoriesNamesMethods inherited from interface KeyPairProviderHolder
getKeyPairProvider, setKeyPairProviderMethods inherited from interface PortForwardingEventListenerManager
addPortForwardingEventListener, getPortForwardingEventListenerProxy, removePortForwardingEventListenerMethods inherited from interface PropertyResolver
getBoolean, getBooleanProperty, getCharset, getInteger, getIntProperty, getLong, getLongProperty, getObject, getParentPropertyResolver, getProperties, getString, getStringProperty, isEmptyMethods inherited from interface ReservedSessionMessagesManager
getReservedSessionMessagesHandler, setReservedSessionMessagesHandlerMethods inherited from interface ServerAuthenticationManager
getGSSAuthenticator, getHostBasedAuthenticator, getHostKeyCertificateProvider, getKeyboardInteractiveAuthenticator, getPasswordAuthenticator, getPublickeyAuthenticator, setGSSAuthenticator, setHostBasedAuthenticator, setHostKeyCertificateProvider, setKeyboardInteractiveAuthenticator, setPasswordAuthenticator, setPublickeyAuthenticator, setUserAuthFactoriesNamesMethods inherited from interface ServerProxyAcceptorHolder
getServerProxyAcceptor, setServerProxyAcceptorMethods inherited from interface SessionDisconnectHandlerManager
getSessionDisconnectHandler, setSessionDisconnectHandlerMethods inherited from interface SessionHeartbeatController
disableSessionHeartbeat, getSessionHeartbeatInterval, getSessionHeartbeatType, setSessionHeartbeat, setSessionHeartbeatMethods inherited from interface SessionListenerManager
addSessionListener, getSessionListenerProxy, removeSessionListenerMethods inherited from interface SignatureFactoriesHolder
getSignatureFactories, getSignatureFactoriesNameList, getSignatureFactoriesNamesMethods inherited from interface SignatureFactoriesManager
setSignatureFactories, setSignatureFactoriesNameList, setSignatureFactoriesNames, setSignatureFactoriesNamesMethods inherited from interface UnknownChannelReferenceHandlerManager
getUnknownChannelReferenceHandler, resolveUnknownChannelReferenceHandler, setUnknownChannelReferenceHandlerMethods inherited from interface UserAuthFactoriesManager
getUserAuthFactories, getUserAuthFactoriesNameList, getUserAuthFactoriesNames, setUserAuthFactories, setUserAuthFactoriesNameList, setUserAuthFactoriesNames
-
Method Details
-
getShellFactory
ShellFactory getShellFactory()Retrieve theShellFactoryobject to be used to create shells.- Returns:
- a valid
ShellFactoryobject ornullif shells are not supported on this server
-
getCommandFactory
CommandFactory getCommandFactory()Retrieve theCommandFactoryto be used to process commands requests.- Returns:
- A valid
CommandFactoryobject ornullif commands are not supported on this server
-
getSubsystemFactories
List<? extends SubsystemFactory> getSubsystemFactories()Retrieve the list of named factories forCommandFactory.Commandto be used to create subsystems.- Returns:
- a list of named
SubsystemFactory-ies ornull/empty if subsystems are not supported on this server
-