Revision 32563 branches/v2_0_0_prep/extensions/org.gvsig.installer/org.gvsig.installer.lib/org.gvsig.installer.lib.spi/src/main/java/org/gvsig/installer/lib/spi/InstallerProviderManager.java
InstallerProviderManager.java | ||
---|---|---|
27 | 27 |
|
28 | 28 |
package org.gvsig.installer.lib.spi; |
29 | 29 |
|
30 |
import org.gvsig.installer.lib.api.InstallerInfo;
|
|
30 |
import org.gvsig.installer.lib.api.PackageInfo;
|
|
31 | 31 |
import org.gvsig.installer.lib.spi.execution.InstallerExecutionProvider; |
32 | 32 |
import org.gvsig.tools.service.ServiceException; |
33 | 33 |
import org.gvsig.tools.service.spi.ProviderManager; |
... | ... | |
40 | 40 |
* </p> |
41 | 41 |
* <p> |
42 | 42 |
* All the plugins to install have to have some install properties defined |
43 |
* by the {@link InstallerInfo} class. This class is just a set of properties
|
|
43 |
* by the {@link PackageInfo} class. This class is just a set of properties
|
|
44 | 44 |
* and there is a property named <b>type</b> that can be retrieved by the |
45 |
* {@link InstallerInfo#getType()} method that defines the plugin type
|
|
45 |
* {@link PackageInfo#getType()} method that defines the plugin type
|
|
46 | 46 |
* (a new plugin, theme...). This property is used to create a {@link InstallerExecutionProvider} |
47 | 47 |
* that is used to install the selected plugin. |
48 | 48 |
* </p> |
... | ... | |
59 | 59 |
* Creates a new provider to execute an installer to add a new plugin in gvSIG. |
60 | 60 |
* @param providerName |
61 | 61 |
* The provider name used on the registration of the provider. This name is the |
62 |
* type attribute defined by {@link InstallerInfo}.
|
|
62 |
* type attribute defined by {@link PackageInfo}.
|
|
63 | 63 |
* @return |
64 | 64 |
* A porvider that can be used to install a plugin. |
65 | 65 |
* @throws ServiceException |
Also available in: Unified diff