org.apache.felix.webconsole.internal
Interface OsgiManagerPlugin

All Known Implementing Classes:
AbstractConfigurationPrinter, BundleRepositoryRender, BundlesServlet, ComponentConfigurationPrinter, ComponentsServlet, ConfigManager, ConfigurationAdminConfigurationPrinter, ConfigurationRender, DepPackServlet, LicenseServlet, LogServlet, PermissionsConfigurationPrinter, PreferencesConfigurationPrinter, ServicesConfigurationPrinter, ServicesServlet, ShellServlet, SystemPropertiesPrinter, ThreadPrinter, VMStatPlugin, WireAdminConfigurationPrinter

public interface OsgiManagerPlugin

OsgiManagerPlugin is an internal interface. When a plugin implements this interface, the Web Console will run it's activate(BundleContext) method upon initialization and deactivate(), when disposed.


Method Summary
 void activate(BundleContext bundleContext)
          This method is called from the Felix Web Console to ensure the AbstractWebConsolePlugin is correctly setup.
 void deactivate()
          This method is called, by the Web Console to de-activate the plugin and release all used resources.
 

Method Detail

activate

void activate(BundleContext bundleContext)
This method is called from the Felix Web Console to ensure the AbstractWebConsolePlugin is correctly setup. It is called right after the Web Console receives notification for plugin registration.

Parameters:
bundleContext - the context of the plugin bundle

deactivate

void deactivate()
This method is called, by the Web Console to de-activate the plugin and release all used resources.



Copyright © 2013 The Apache Software Foundation. All Rights Reserved.