Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.impl.replacement.smiley
Class SmileyActivator

java.lang.Object
  extended by net.java.sip.communicator.impl.replacement.smiley.SmileyActivator
All Implemented Interfaces:
org.osgi.framework.BundleActivator

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

Activator for the Smiley source bundle.

Author:
Purvesh Sahoo

Constructor Summary
SmileyActivator()
           
 
Method Summary
static ResourceManagementService getResources()
          Returns the ResourceManagementService, through which we will access all resources.
 void start(org.osgi.framework.BundleContext context)
          Starts the Smiley replacement source bundle
 void stop(org.osgi.framework.BundleContext context)
          Unregisters the Smiley replacement service.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SmileyActivator

public SmileyActivator()
Method Detail

start

public void start(org.osgi.framework.BundleContext context)
           throws Exception
Starts the Smiley replacement source bundle

Specified by:
start in interface org.osgi.framework.BundleActivator
Parameters:
context - the BundleContext as provided from the OSGi framework
Throws:
Exception - if anything goes wrong

stop

public void stop(org.osgi.framework.BundleContext context)
          throws Exception
Unregisters the Smiley replacement service.

Specified by:
stop in interface org.osgi.framework.BundleActivator
Parameters:
context - BundleContext
Throws:
Exception - if anything goes wrong

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.

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

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