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.
|
org.java.plugin.tools |
General plug-in tools related classes.
|
org.java.plugin.tools.ant |
This package contains implementations of various Ant tasks aimed to make usage of JPF much simple and convenient.
|
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.
|
Modifier and Type | Method and Description |
---|---|
static java.util.Set<java.lang.String> |
PluginArchiver.readDescriptor(java.net.URL archiveFile,
PluginRegistry registry)
Reads meta-information from plug-ins archive file and registers found
plug-in manifest data with given registry for future analysis.
|
static java.util.Set<java.lang.String> |
PluginArchiver.readDescriptor(java.net.URL archiveFile,
PluginRegistry registry,
PluginArchiver.Filter filter)
Reads meta-information from plug-ins archive file and registers found
plug-in manifest data with given registry for future analysis.
|
static java.util.Set<java.lang.String> |
PluginArchiver.unpack(java.net.URL archiveFile,
java.io.File destFolder)
Extracts all plug-ins from the given archive file.
|
static java.util.Set<java.lang.String> |
PluginArchiver.unpack(java.net.URL archiveFile,
java.io.File destFolder,
PluginArchiver.Filter filter)
Extracts plug-ins from the given archive file according to given filter.
|
static java.util.Set<java.lang.String> |
PluginArchiver.unpack(java.net.URL archiveFile,
PluginRegistry registry,
java.io.File destFolder)
Extracts plug-ins from the given archive file.
|
static java.util.Set<java.lang.String> |
PluginArchiver.unpack(java.net.URL archiveFile,
PluginRegistry registry,
java.io.File destFolder,
PluginArchiver.Filter filter)
Extracts plug-ins from the given archive file.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
BaseJpfTask.isManifestAccepted(java.net.URL manifestUrl) |
Copyright © 2004-2007 Dmitry Olshansky. All Rights Reserved.