Class PluginInstallerExecutionProvider
java.lang.Object
org.gvsig.tools.service.spi.AbstractProvider
org.gvsig.installer.prov.plugin.execution.PluginInstallerExecutionProvider
- All Implemented Interfaces:
org.gvsig.installer.lib.spi.execution.InstallPackageProvider,org.gvsig.tools.service.spi.Provider
public class PluginInstallerExecutionProvider
extends org.gvsig.tools.service.spi.AbstractProvider
implements org.gvsig.installer.lib.spi.execution.InstallPackageProvider
- Author:
- Jorge Piera Llodrá
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclass -
Constructor Summary
ConstructorsConstructorDescriptionPluginInstallerExecutionProvider(org.gvsig.tools.service.spi.ProviderServices providerServices) -
Method Summary
Modifier and TypeMethodDescriptionvoidinstall(File applicationDirectory, InputStream inputStream, org.gvsig.installer.lib.api.PackageInfo packageInfo) voidinstallLater(File applicationDirectory, InputStream inputStream, org.gvsig.installer.lib.api.PackageInfo packageInfo) This function will is called when an exception is produced during the installation of a plugin.Methods inherited from class org.gvsig.tools.service.spi.AbstractProvider
getProviderServices, setProviderServices
-
Constructor Details
-
PluginInstallerExecutionProvider
public PluginInstallerExecutionProvider(org.gvsig.tools.service.spi.ProviderServices providerServices)
-
-
Method Details
-
install
public void install(File applicationDirectory, InputStream inputStream, org.gvsig.installer.lib.api.PackageInfo packageInfo) throws org.gvsig.installer.lib.api.execution.InstallPackageServiceException - Specified by:
installin interfaceorg.gvsig.installer.lib.spi.execution.InstallPackageProvider- Throws:
org.gvsig.installer.lib.api.execution.InstallPackageServiceException
-
installLater
public void installLater(File applicationDirectory, InputStream inputStream, org.gvsig.installer.lib.api.PackageInfo packageInfo) throws org.gvsig.installer.lib.api.execution.InstallPackageServiceException, IOException This function will is called when an exception is produced during the installation of a plugin. It will prepare the package to be installed on the next gvSIG restart.- Specified by:
installLaterin interfaceorg.gvsig.installer.lib.spi.execution.InstallPackageProvider- Throws:
org.gvsig.installer.lib.api.execution.InstallPackageServiceExceptionIOException
-