public class DefaultInstallerProviderManager extends AbstractProviderManager implements InstallerProviderManager
Modifier and Type | Field and Description |
---|---|
static String |
PROVIDERS_DESCRIPTION |
static String |
PROVIDERS_NAME |
static String |
PROVIDERS_NAMESPACE |
Constructor and Description |
---|
DefaultInstallerProviderManager() |
Modifier and Type | Method and Description |
---|---|
InstallPackageProvider |
createExecutionProvider(String providerName)
Creates a new provider to execute an installer to add a new package in
gvSIG.
|
InstallPackageProviderServices |
createInstallerProviderServices()
Creates the services that be used for the providers to execute or create
a new bundle.
|
ProviderServices |
createProviderServices(Service service)
Creates a new
ProviderServices object to be used by the
Provider s. |
String |
getPackageInfoFileName()
Returns the name to use for the package info file.
|
List<ProviderFactory> |
getProviderFactories() |
protected String |
getRegistryDescription() |
protected String |
getRegistryKey() |
addProviderFactory, createProvider, createServiceParameters, getProviderFactory
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getProviderFactory
addProviderFactory, createProvider, createServiceParameters
public static final String PROVIDERS_NAMESPACE
public static final String PROVIDERS_NAME
public static final String PROVIDERS_DESCRIPTION
protected String getRegistryDescription()
getRegistryDescription
in class AbstractProviderManager
protected String getRegistryKey()
getRegistryKey
in class AbstractProviderManager
public ProviderServices createProviderServices(Service service)
ProviderManager
ProviderServices
object to be used by the
Provider
s.createProviderServices
in interface ProviderManager
service
- to create the related ProviderServices
with.public InstallPackageProvider createExecutionProvider(String providerName) throws ServiceException
InstallerProviderManager
createExecutionProvider
in interface InstallerProviderManager
providerName
- the provider name used on the registration of the provider.
This name is the type attribute defined by PackageInfo
.ServiceException
- if the provider doesn't exist or if there is a problem
creating the provider.public InstallPackageProviderServices createInstallerProviderServices()
InstallerProviderManager
createInstallerProviderServices
in interface InstallerProviderManager
public String getPackageInfoFileName()
InstallerProviderManager
getPackageInfoFileName
in interface InstallerProviderManager
public List<ProviderFactory> getProviderFactories()
getProviderFactories
in interface ProviderManager_WithGetFactories
getProviderFactories
in class AbstractProviderManager