Package | Description |
---|---|
org.java.plugin.boot |
This package contains helper classes to start/stop JPF based applications.
|
org.java.plugin.registry |
This package contains framework registry API.
|
org.java.plugin.registry.xml |
This package contains XML syntax manifest files based framework registry API implementation.
|
Modifier and Type | Method and Description |
---|---|
protected Collection<PluginManager.PluginLocation> |
DefaultApplicationInitializer.filterPluginLocations(PluginRegistry registry,
Collection<PluginManager.PluginLocation> pluginLocations)
This method may remove unwanted plug-in locations from the given list.
|
Modifier and Type | Method and Description |
---|---|
ManifestInfo |
PluginRegistry.readManifestInfo(URL manifest)
Reads basic information from a plug-in or plug-in fragment manifest.
|
Map<String,Identity> |
PluginRegistry.register(URL[] manifests)
Registers plug-ins and plug-in fragments in this registry.
|
Modifier and Type | Method and Description |
---|---|
ManifestInfo |
PluginRegistryImpl.readManifestInfo(URL url) |
Map<String,Identity> |
PluginRegistryImpl.register(URL[] manifests)
General algorithm:
Collect all currently registered extension points.
Parse given URL's as XML content files and separate them on plug-in
and plug-in fragment descriptors.
Process new plug-in descriptors first:
Instantiate new PluginDescriptorImpl object.
Handle versions correctly - register new descriptor as most
recent version or as an old version.
If other versions of the same plug-in already registered, take
their fragments and register them with this version.
Process new plug-in fragments next:
Instantiate new PluginFragmentImpl object.
Check if older version of the same fragment already registered.
|
Copyright © 2019. All rights reserved.