public class NotificationConfigurationActivator
extends java.lang.Object
implements org.osgi.framework.BundleActivator
Modifier and Type | Field and Description |
---|---|
static org.osgi.framework.BundleContext |
bundleContext
OSGi bundle context.
|
Constructor and Description |
---|
NotificationConfigurationActivator() |
Modifier and Type | Method and Description |
---|---|
static org.jitsi.service.audionotifier.AudioNotifierService |
getAudioNotifierService()
Returns the AudioService obtained from the bundle
context.
|
static org.jitsi.service.configuration.ConfigurationService |
getConfigurationService()
Returns a reference to the ConfigurationService implementation currently
registered in the bundle context or null if no such implementation was
found.
|
static NotificationService |
getNotificationService()
Returns the NotificationService obtained from the bundle
context.
|
void |
start(org.osgi.framework.BundleContext bc)
Starts this bundle and adds the AudioConfigurationConfigForm
contained in it to the configuration window obtained from the
UIService.
|
void |
stop(org.osgi.framework.BundleContext bc)
Stops this bundle.
|
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
java.lang.Exception
public void stop(org.osgi.framework.BundleContext bc) throws java.lang.Exception
stop
in interface org.osgi.framework.BundleActivator
java.lang.Exception
public static org.jitsi.service.audionotifier.AudioNotifierService getAudioNotifierService()
public static NotificationService getNotificationService()
Note: No caching of the returned value is made available. Clients interested in bringing down the penalties imposed by acquiring the value in question should provide it by themselves.
public static org.jitsi.service.configuration.ConfigurationService getConfigurationService()
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.