Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.impl.growlnotification
Class GrowlNotificationActivator

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

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

Activates the GrowlNotificationService

Author:
Romain Kuntz, Egidijus Jankauskas

Field Summary
static org.osgi.framework.BundleContext bundleContext
          The bundle context in which we started
 
Constructor Summary
GrowlNotificationActivator()
           
 
Method Summary
static ConfigurationService getConfigurationService()
          Returns the ConfigurationService obtained from the bundle context.
static ResourceManagementService getResources()
          Returns the ResourceManagementService obtained from the bundle context.
 void start(org.osgi.framework.BundleContext bc)
          Initialize and start Growl Notifications Service
 void stop(org.osgi.framework.BundleContext bContext)
          Stops this bundle.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

bundleContext

public static org.osgi.framework.BundleContext bundleContext
The bundle context in which we started

Constructor Detail

GrowlNotificationActivator

public GrowlNotificationActivator()
Method Detail

start

public void start(org.osgi.framework.BundleContext bc)
           throws Exception
Initialize and start Growl Notifications Service

Specified by:
start in interface org.osgi.framework.BundleActivator
Parameters:
bc - BundleContext
Throws:
Exception - if initializing and starting this service fails

stop

public void stop(org.osgi.framework.BundleContext bContext)
          throws Exception
Stops this bundle.

Specified by:
stop in interface org.osgi.framework.BundleActivator
Parameters:
bContext - the BundleContext
Throws:
Exception - if the stop operation goes wrong

getConfigurationService

public static ConfigurationService getConfigurationService()
Returns the ConfigurationService obtained from the bundle context.

Returns:
the ConfigurationService obtained from the bundle context

getResources

public static ResourceManagementService getResources()
Returns the ResourceManagementService obtained from the bundle context.

Returns:
the ResourceManagementService 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.