net.java.sip.communicator.impl.msghistory
Class MessageHistoryActivator
java.lang.Object
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. |
|
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 |
bundleContext
static org.osgi.framework.BundleContext bundleContext
- The BundleContext of the service.
MessageHistoryActivator
public MessageHistoryActivator()
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.
Distributable under LGPL license.