Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.plugin.notificationwiring
Class NotificationWiringActivator

java.lang.Object
  extended by net.java.sip.communicator.plugin.notificationwiring.NotificationWiringActivator
All Implemented Interfaces:
org.osgi.framework.BundleActivator

public class NotificationWiringActivator
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
NotificationWiringActivator()
           
 
Method Summary
static MediaService getMediaService()
          Returns an instance of the MediaService obtained from the bundle context.
static NotificationService getNotificationService()
          Returns the NotificationService obtained from the bundle context.
static ResourceManagementService getResources()
          Returns the ResourceManagementService, through which we will access all resources.
static UIService getUIService()
          Returns the current implementation of the UIService.
 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

NotificationWiringActivator

public NotificationWiringActivator()
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

getNotificationService

public static NotificationService getNotificationService()
Returns the NotificationService obtained from the bundle context.

Returns:
the NotificationService obtained from the bundle context

getResources

public static ResourceManagementService getResources()
Returns the ResourceManagementService, through which we will access all resources.

Returns:
the ResourceManagementService, through which we will access all resources.

getUIService

public static UIService getUIService()
Returns the current implementation of the UIService.

Returns:
the current implementation of the UIService

getMediaService

public static MediaService getMediaService()
Returns an instance of the MediaService obtained from the bundle context.

Returns:
an instance of the MediaService 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.