MetaDone
|
Public Member Functions | |
synchronized void | start (BundleContext context) throws Exception |
synchronized void | stop (BundleContext context) throws Exception |
Protected Member Functions | |
abstract MetadonePlugin | initializePlugin (BundleContext context) |
MetadonePlugin | shutdownPlugin (MetadonePlugin plugin) |
Private Attributes | |
MetadonePlugin | plugin = null |
ServiceRegistration | pluginService = null |
An abstract implementation of a plugin activator for OSGi.
abstract MetadonePlugin metadone.client.plugin.AbstractPluginActivator.initializePlugin | ( | BundleContext | context | ) | [protected, pure virtual] |
Creates a new instance of the plugin.
context | The context |
Implemented in metadone.plugin.grasyla.generator.Activator, metadone.plugin.helloworld.HelloActivator, and metadone.plugin.urn.URNActivator.
Referenced by metadone.client.plugin.AbstractPluginActivator.start().
MetadonePlugin metadone.client.plugin.AbstractPluginActivator.shutdownPlugin | ( | MetadonePlugin | plugin | ) | [protected] |
Removes the plugin instance from this manager.
By default this method returns this
.
plugin | The running plugin being shut down |
this
if the plugin does not need being shut down or null
if the plugin should be removed References metadone.client.plugin.AbstractPluginActivator.plugin.
Referenced by metadone.client.plugin.AbstractPluginActivator.stop().
synchronized void metadone.client.plugin.AbstractPluginActivator.start | ( | BundleContext | context | ) | throws Exception |
synchronized void metadone.client.plugin.AbstractPluginActivator.stop | ( | BundleContext | context | ) | throws Exception |
MetadonePlugin metadone.client.plugin.AbstractPluginActivator.plugin = null [private] |
ServiceRegistration metadone.client.plugin.AbstractPluginActivator.pluginService = null [private] |