| org.jpox.plugin.PluginRegistry
All known Subclasses: org.jpox.plugin.NonManagedPluginRegistry, org.jpox.plugin.EclipsePluginRegistry,
PluginRegistry | public interface PluginRegistry (Code) | | Loader and registry of Extensions and Extension Points. The implementation of this interface must have a public
constructor taking the ClassLoaderResolver interface as argument The plugin registry metadata/bundle resolution is
ruled by OSGi specification. The following sections of the OSGi 3.0 specification must be fully supported: 3.5.2,
3.5.2, 3.2.4, 3.2.5. The section 3.6.3 is optional. All other OSGi parts not mentioned above are not likely to be
supported.
version: $Revision: 1.8 $ |
getExtensionPoint | ExtensionPoint getExtensionPoint(String id)(Code) | | Acessor for the ExtensionPoint
Parameters: id - the unique id of the extension point null if the ExtensionPoint is not registered |
getExtensionPoints | ExtensionPoint[] getExtensionPoints()(Code) | | Acessor for the currently registed ExtensionPoints
array of ExtensionPoints |
registerExtensionPoints | void registerExtensionPoints()(Code) | | Look for Bundles/Plugins and register them. Register also ExtensionPoints and Extensions declared in /plugin.xml
files
|
registerExtensions | void registerExtensions()(Code) | | Look for Bundles/Plugins and register them. Register also ExtensionPoints and Extensions declared in /plugin.xml
files
|
resolveConstraints | void resolveConstraints()(Code) | | Resolve constraints declared in bundle manifest.mf files.
This must be invoked after registering all bundles.
Should log errors if bundles are not resolvable, or raise runtime exceptions.
|
resolveURLAsFileURL | URL resolveURLAsFileURL(URL url) throws IOException(Code) | | Converts a URL that uses a user-defined protocol into a URL that uses the file protocol.
Parameters: url - the url to be converted the converted URL throws: IOException - |
|
|