public class PluginManagerActivator
extends java.lang.Object
implements org.osgi.framework.BundleActivator
Modifier and Type | Field and Description |
---|---|
static org.osgi.framework.BundleContext |
bundleContext
The bundle context.
|
Constructor and Description |
---|
PluginManagerActivator() |
Modifier and Type | Method and Description |
---|---|
static org.jitsi.service.configuration.ConfigurationService |
getConfigurationService()
Returns the ConfigurationService obtained from the bundle
context.
|
static UIService |
getUIService()
Returns the UIService obtained from the bundle context.
|
static boolean |
isSystemBundle(org.osgi.framework.Bundle bundle)
Determines whether bundle is system or not.
|
void |
start(org.osgi.framework.BundleContext bc)
Starts this bundle and adds the
PluginManagerConfigForm contained in it to the configuration
window obtained from the UIService.
|
void |
stop(org.osgi.framework.BundleContext bc)
Stops this bundles.
|
public static org.osgi.framework.BundleContext bundleContext
public void start(org.osgi.framework.BundleContext bc) throws java.lang.Exception
start
in interface org.osgi.framework.BundleActivator
bc
- the BundleContextjava.lang.Exception
- if one of the operation executed in the start method
failspublic void stop(org.osgi.framework.BundleContext bc) throws java.lang.Exception
stop
in interface org.osgi.framework.BundleActivator
bc
- the BundleContextjava.lang.Exception
- if one of the operation executed in the stop method
failspublic static UIService getUIService()
public static org.jitsi.service.configuration.ConfigurationService getConfigurationService()
public static boolean isSystemBundle(org.osgi.framework.Bundle bundle)
bundle
- the bundle that we need to determine as system or not.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.