public class ConfigurationActivator
extends java.lang.Object
implements org.osgi.framework.BundleActivator
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PNAME_USE_PROPFILE_CONFIG
Property name to force a properties file based configuration.
|
Constructor and Description |
---|
ConfigurationActivator() |
Modifier and Type | Method and Description |
---|---|
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.
|
public static final java.lang.String PNAME_USE_PROPFILE_CONFIG
public void start(org.osgi.framework.BundleContext bundleContext) throws java.lang.Exception
start
in interface org.osgi.framework.BundleActivator
bundleContext
- the BundleContext as provided by the OSGi
framework.java.lang.Exception
- if anything goes wrongpublic void stop(org.osgi.framework.BundleContext bundleContext) throws java.lang.Exception
stop
in interface org.osgi.framework.BundleActivator
bundleContext
- BundleContextjava.lang.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 Apache license.