Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.impl.notification
Class NotificationActivator

java.lang.Object
  extended by net.java.sip.communicator.impl.notification.NotificationActivator
All Implemented Interfaces:
org.osgi.framework.BundleActivator

public class NotificationActivator
extends Object
implements org.osgi.framework.BundleActivator

The NotificationActivator is the activator of the notification bundle.

Author:
Yana Stamcheva

Field Summary
protected static org.osgi.framework.BundleContext bundleContext
           
 
Constructor Summary
NotificationActivator()
           
 
Method Summary
static AudioNotifierService getAudioNotifier()
          Returns the AudioNotifierService obtained from the bundle context.
static SystrayService getSystray()
          Returns the SystrayService obtained from the bundle context.
 void start(org.osgi.framework.BundleContext bc)
           
 void stop(org.osgi.framework.BundleContext bc)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

bundleContext

protected static org.osgi.framework.BundleContext bundleContext
Constructor Detail

NotificationActivator

public NotificationActivator()
Method Detail

start

public void start(org.osgi.framework.BundleContext bc)
           throws Exception
Specified by:
start in interface org.osgi.framework.BundleActivator
Throws:
Exception

stop

public void stop(org.osgi.framework.BundleContext bc)
          throws Exception
Specified by:
stop in interface org.osgi.framework.BundleActivator
Throws:
Exception

getAudioNotifier

public static AudioNotifierService getAudioNotifier()
Returns the AudioNotifierService obtained from the bundle context.

Returns:
the AudioNotifierService obtained from the bundle context

getSystray

public static SystrayService getSystray()
Returns the SystrayService obtained from the bundle context.

Returns:
the SystrayService obtained from the bundle context

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.