public class GalagoNotificationActivator
extends java.lang.Object
implements org.osgi.framework.BundleActivator
Modifier and Type | Field and Description |
---|---|
(package private) static long |
dbusConnection
The DBusConnection pointer to the D-Bus connection through which
the freedesktop.org Desktop Notifications are being sent.
|
Constructor and Description |
---|
GalagoNotificationActivator() |
Modifier and Type | Method and Description |
---|---|
static org.jitsi.service.resources.ResourceManagementService |
getResources()
Gets the resources such as internationalized and localized text and
images used by the galagonotification bundle.
|
void |
start(org.osgi.framework.BundleContext bundleContext)
Starts the galagonotification bundle.
|
void |
stop(org.osgi.framework.BundleContext bundleContext)
Stops the galagonotification bundle.
|
static long dbusConnection
public static org.jitsi.service.resources.ResourceManagementService getResources()
public void start(org.osgi.framework.BundleContext bundleContext) throws java.lang.Exception
start
in interface org.osgi.framework.BundleActivator
bundleContext
- the context in which the galagonotification bundle
is to executejava.lang.Exception
- if the PopupMessageHandler implementation of
the galagonotification bundle is not supported by the current operating
systemBundleActivator.start(BundleContext)
public void stop(org.osgi.framework.BundleContext bundleContext) throws java.lang.Exception
stop
in interface org.osgi.framework.BundleActivator
bundleContext
- the context in which the galagonotification bundle
is to stop its executionjava.lang.Exception
- if there was an error during the stopping of the native
functionality supporting the PopupNotificationHandler
implementation of the galagonotification bundle
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.