|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface OsgiInstaller
OSGi Service that installs/updates/removes installable data
InstallableResource in the OSGi framework.
The client can register a number of such resources, and the
installer decides based on the resource weights, bundle version
numbers, etc. which ones are actually installed.
An InstallableResource can be a bundle, a configuration, and later
we might support deployment packages as well.
| Method Summary | |
|---|---|
void |
registerResources(String urlScheme,
InstallableResource[] resources)
Provide the installer with the complete list of installable resources for a given client. |
void |
updateResources(String urlScheme,
InstallableResource[] resources,
String[] ids)
Inform the installer that resources are available for installation and/or other resources are no longer available. |
| Method Detail |
|---|
void registerResources(String urlScheme,
InstallableResource[] resources)
urlScheme - identifies the client.resources - the list of available resources
void updateResources(String urlScheme,
InstallableResource[] resources,
String[] ids)
urlScheme - identifies the client.resource - An array of updated/new resources - might be nullids - An array of identifiers for removed resources - might be null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||