public class ChatConfigActivator
extends java.lang.Object
implements org.osgi.framework.BundleActivator
Modifier and Type | Field and Description |
---|---|
static org.osgi.framework.BundleContext |
bundleContext
The currently valid bundle context.
|
Constructor and Description |
---|
ChatConfigActivator() |
Modifier and Type | Method and Description |
---|---|
static java.awt.Component |
createConfigSectionComponent(java.lang.String labelText)
Creates a config section label from the given text.
|
static org.jitsi.service.configuration.ConfigurationService |
getConfigurationService()
Returns the ConfigurationService obtained from the bundle
context.
|
static java.util.Map<java.lang.String,ReplacementService> |
getReplacementSources()
Returns all ReplacementServices obtained from the bundle
context.
|
static org.jitsi.service.resources.ResourceManagementService |
getResources()
Gets the service giving access to all application resources.
|
void |
start(org.osgi.framework.BundleContext bc)
Starts this bundle.
|
void |
stop(org.osgi.framework.BundleContext bc)
Stops this bundle.
|
public static org.osgi.framework.BundleContext bundleContext
public void start(org.osgi.framework.BundleContext bc) throws java.lang.Exception
start
in interface org.osgi.framework.BundleActivator
bc
- the BundleContextjava.lang.Exception
- if some of the operations executed in the start method
failspublic void stop(org.osgi.framework.BundleContext bc) throws java.lang.Exception
stop
in interface org.osgi.framework.BundleActivator
bc
- the bundle contextjava.lang.Exception
- if something goes wrongpublic static org.jitsi.service.resources.ResourceManagementService getResources()
public static java.awt.Component createConfigSectionComponent(java.lang.String labelText)
labelText
- the text of the label.public static org.jitsi.service.configuration.ConfigurationService getConfigurationService()
public static java.util.Map<java.lang.String,ReplacementService> getReplacementSources()
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.