public interface InstallerProviderManager extends ProviderManager, ProviderManager_WithGetFactories
The installation process install packages in gvSIG. These packages has a type, that can be a plugin, theme, translation, etc. For every type of package the installation process needs a provider for installing the packages.
All the packages to install have to have some install properties defined by
PackageInfo class. This class is just a set of properties and
there is a property named type that can be retrieved by the
PackageInfo.getType() method that defines the package type. This
property is used to create a
InstallPackageProvider that is used to
install the selected package.
This manager provides the functionality to register and to create a providers for every package.
|Modifier and Type||Method and Description|
Creates a new provider to execute an installer to add a new package in gvSIG.
Creates the services that be used for the providers to execute or create a new bundle.
Returns the name to use for the package info file.
InstallPackageProvider createExecutionProvider(String providerName) throws ServiceException
providerName- the provider name used on the registration of the provider. This name is the type attribute defined by
ServiceException- if the provider doesn't exist or if there is a problem creating the provider.