public interface SshProviderFactory
SshProvider instances.
This is the start of all interaction with the SSH API.
The DefaultProviderFactory implementation should be enough for most
peoples needs, but this interface is used to allow custom provider handling.
DefaultProviderFactory| Modifier and Type | Method and Description |
|---|---|
SshProvider |
getProvider(SshConfiguration configuration)
Create a new
SshProvider using a specified configuration. |
SshProvider getProvider(SshConfiguration configuration)
SshProvider using a specified configuration. Each
provider will be offered the configuration to see if it can support it.
If more than one provider can support the configuration, the actual one
used will depend on the factory implementation.configuration - configurationjava.lang.IllegalStateException - if no providers are availablejava.lang.IllegalArgumentException - if no provider supports the configurationCopyright © 2018. All rights reserved.