This class is responsible for dynamically loading all the installed
session providers. A session provider can be used with
SessionProviderFrame to integrate an ssh service such as
a terminal window or sftp window within another application.
To install a session provider you should provide a special properties
file resource at the root of your source tree called 'session.provider'.
This properties file should have the following properties defined:
provider.id= [The unique name of the provider e.g 'sshterm']
provider.name= [The descriptive name of the provider e.g. 'Terminal Session']
provider.class= [Fully qualified classname of the provider implementation]
provider.shortdesc= [A short description of the provider]
provider.smallicon= [The providers small icon, must be filename only and be
placed in the same package as the provider class implementation]
provider.largeicon= [The providers large icon, must be filename only and be
placed in the same package as the provider class implementation]
provider.mnemonic= [The mnemonic character]
provider.options= [The options panel implementation, must implement
com.sshtools.common.ui.OptionsTab]
property.page.1= [An number of property page panels, must implement
com.sshtools.common.ui.SshToolsConnectionTab]
property.page.2= [More property pages added like this]
provider.weight= [Weight setting, used to order providers]
author: Lee David Painter version: $Id: SessionProviderFactory.java,v 1.12 2003/09/22 15:57:57 martianx Exp $ |