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 java.util.Collection<PluginManager.PluginLocation> |
DefaultApplicationInitializer.filterPluginLocations(PluginRegistry registry,
java.util.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(java.net.URL manifest)
Reads basic information from a plug-in or plug-in fragment manifest.
|
java.util.Map<java.lang.String,Identity> |
PluginRegistry.register(java.net.URL[] manifests)
Registers plug-ins and plug-in fragments in this registry.
|
Modifier and Type | Method and Description |
---|---|
ManifestInfo |
PluginRegistryImpl.readManifestInfo(java.net.URL url) |
java.util.Map<java.lang.String,Identity> |
PluginRegistryImpl.register(java.net.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 © 2004-2007 Dmitry Olshansky. All Rights Reserved.