Package | Description |
---|---|
org.java.plugin |
This package contains framework runtime API.
|
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.standard |
This package contains standard implementation of main framework runtime API.
|
Modifier and Type | Method and Description |
---|---|
abstract Map<String,Identity> |
PluginManager.publishPlugins(PluginManager.PluginLocation[] locations)
Registers plug-ins and their locations with this plug-in manager.
|
Modifier and Type | Method and Description |
---|---|
void |
PathResolver.registerContext(Identity idt,
URL url)
Registers "home" URL for given plug-in element.
|
URL |
PathResolver.resolvePath(Identity identity,
String path)
Should resolve given path to URL for a given identity.
|
Modifier and Type | Interface and Description |
---|---|
interface |
Documentable<T extends Identity>
Interface to get access to plug-in element documentation.
|
interface |
Documentation<T extends Identity>
Interface to collect documentation data for some plug-in element.
|
static interface |
Documentation.Reference<E extends Identity>
Documentation reference.
|
Modifier and Type | Interface and Description |
---|---|
interface |
Extension
This interface abstracts an extension - particular functionality,
the plug-in contribute to the system.
|
static interface |
Extension.Parameter
This interface abstracts extension parameter according to extension
declaration in manifest.
|
interface |
ExtensionPoint
This interface abstracts the extension point - a place where the
functionality of plug-in can be extended.
|
static interface |
ExtensionPoint.ParameterDefinition
This interface abstracts parameter definition - a parameter
"type declaration".
|
interface |
Library
This interface provides access to information about resource or code
contributed by plug-in.
|
interface |
PluginAttribute
This interface abstracts plug-in attribute, a <ID,VALUE> pair.
|
interface |
PluginDescriptor
Main interface to get access to all meta-information for particular
plug-in, described in plug-in manifest file.
|
interface |
PluginElement<T extends PluginElement<T>>
This interface abstracts a plug-in element - a thing that is declared in
plug-in or plug-in fragment descriptor.
|
interface |
PluginFragment
Interface to get access to main information about plug-in fragment.
|
interface |
PluginPrerequisite
This interface abstracts inter plug-ins dependencies.
|
interface |
UniqueIdentity
Base interface for those plug-in manifest element classes that may have UID.
|
Modifier and Type | Method and Description |
---|---|
Identity |
IntegrityCheckReport.ReportItem.getSource() |
Modifier and Type | Method and Description |
---|---|
Map<String,Identity> |
PluginRegistry.register(URL[] manifests)
Registers plug-ins and plug-in fragments in this registry.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
Map<String,Identity> |
StandardPluginManager.publishPlugins(PluginManager.PluginLocation[] locations)
Registers plug-ins and their locations with this plug-in manager.
|
Modifier and Type | Method and Description |
---|---|
void |
ShadingPathResolver.registerContext(Identity idt,
URL url) |
void |
StandardPathResolver.registerContext(Identity idt,
URL url)
This implementation accepts
PluginDescriptor or
PluginFragment as valid plug-in elements. |
URL |
ShadingPathResolver.resolvePath(Identity idt,
String path) |
URL |
StandardPathResolver.resolvePath(Identity identity,
String path) |
Copyright © 2016. All Rights Reserved.