net.java.sip.communicator.impl.configuration
Class ConfigurationActivator
java.lang.Object
net.java.sip.communicator.impl.configuration.ConfigurationActivator
- All Implemented Interfaces:
- org.osgi.framework.BundleActivator
public class ConfigurationActivator
- extends Object
- implements org.osgi.framework.BundleActivator
- Author:
- Emil Ivov, Lyubomir Marinov
|
Method Summary |
static org.osgi.framework.BundleContext |
getBundleContext()
Gets the BundleContext in which the configuration bundle has
been started and has not been stopped yet. |
void |
start(org.osgi.framework.BundleContext bundleContext)
Starts the configuration service |
void |
stop(org.osgi.framework.BundleContext bundleContext)
Causes the configuration service to store the properties object and
unregisters the configuration service. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConfigurationActivator
public ConfigurationActivator()
getBundleContext
public static org.osgi.framework.BundleContext getBundleContext()
- Gets the BundleContext in which the configuration bundle has
been started and has not been stopped yet.
- Returns:
- the BundleContext in which the configuration bundle has
been started and has not been stopped yet
start
public void start(org.osgi.framework.BundleContext bundleContext)
throws Exception
- Starts the configuration service
- Specified by:
start in interface org.osgi.framework.BundleActivator
- Parameters:
bundleContext - the BundleContext as provided by the OSGi
framework.
- Throws:
Exception - if anything goes wrong
stop
public void stop(org.osgi.framework.BundleContext bundleContext)
throws Exception
- Causes the configuration service to store the properties object and
unregisters the configuration service.
- Specified by:
stop in interface org.osgi.framework.BundleActivator
- Parameters:
bundleContext - BundleContext
- Throws:
Exception - if anything goes wrong while storing the properties
managed by the ConfigurationService implementation provided by
this bundle and while unregistering the service in question
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.