Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.impl.msghistory
Class MessageHistoryActivator

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

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

Activates the MessageHistoryService

Author:
Damian Minkov

Field Summary
(package private) static org.osgi.framework.BundleContext bundleContext
          The BundleContext of the service.
 
Constructor Summary
MessageHistoryActivator()
           
 
Method Summary
 void start(org.osgi.framework.BundleContext bc)
          Initialize and start message history
 void stop(org.osgi.framework.BundleContext bundleContext)
          Stops this bundle.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

bundleContext

static org.osgi.framework.BundleContext bundleContext
The BundleContext of the service.

Constructor Detail

MessageHistoryActivator

public MessageHistoryActivator()
Method Detail

start

public void start(org.osgi.framework.BundleContext bc)
           throws Exception
Initialize and start message history

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

stop

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

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

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

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