Search in sources :

Example 11 with SimpleWebConsolePlugin

use of org.apache.felix.webconsole.SimpleWebConsolePlugin in project felix by apache.

the class Activator method removedService.

/**
 * @see org.osgi.util.tracker.ServiceTrackerCustomizer#removedService(org.osgi.framework.ServiceReference,
 *      java.lang.Object)
 */
public final void removedService(ServiceReference reference, Object service) {
    SimpleWebConsolePlugin plugin = this.plugin;
    if (pkgAdminTracker.size() <= 1 && plugin != null) {
        plugin.unregister();
        this.plugin = null;
    }
}
Also used : SimpleWebConsolePlugin(org.apache.felix.webconsole.SimpleWebConsolePlugin)

Aggregations

SimpleWebConsolePlugin (org.apache.felix.webconsole.SimpleWebConsolePlugin)11 Hashtable (java.util.Hashtable)2 Dictionary (java.util.Dictionary)1 InventoryPrinter (org.apache.felix.inventory.InventoryPrinter)1 BundleInfoProvider (org.apache.felix.webconsole.bundleinfo.BundleInfoProvider)1 ServiceRegistration (org.osgi.framework.ServiceRegistration)1 ServiceComponentRuntime (org.osgi.service.component.runtime.ServiceComponentRuntime)1 UserAdmin (org.osgi.service.useradmin.UserAdmin)1