Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.plugin.advancedconfig
Class AdvancedConfigActivator

java.lang.Object
  extended by net.java.sip.communicator.plugin.advancedconfig.AdvancedConfigActivator
All Implemented Interfaces:
org.osgi.framework.BundleActivator

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

Author:
Yana Stamcheva

Field Summary
protected static org.osgi.framework.BundleContext bundleContext
          The bundle context.
 
Constructor Summary
AdvancedConfigActivator()
           
 
Method Summary
static ConfigurationService getConfigurationService()
          Returns a reference to the ConfigurationService implementation currently registered in the bundle context or null if no such implementation was found.
static ResourceManagementService getResources()
          Returns the ResourceManagementService implementation.
 void start(org.osgi.framework.BundleContext bc)
          Starts this bundle.
 void stop(org.osgi.framework.BundleContext bc)
          Stops this bundle.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

bundleContext

protected static org.osgi.framework.BundleContext bundleContext
The bundle context.

Constructor Detail

AdvancedConfigActivator

public AdvancedConfigActivator()
Method Detail

start

public void start(org.osgi.framework.BundleContext bc)
           throws Exception
Starts this bundle.

Specified by:
start in interface org.osgi.framework.BundleActivator
Parameters:
bc - the bundle context
Throws:
Exception - if something goes wrong

stop

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

Specified by:
stop in interface org.osgi.framework.BundleActivator
Parameters:
bc - the bundle context
Throws:
Exception - if something goes wrong

getResources

public static ResourceManagementService getResources()
Returns the ResourceManagementService implementation.

Returns:
the ResourceManagementService implementation

getConfigurationService

public static ConfigurationService getConfigurationService()
Returns a reference to the ConfigurationService implementation currently registered in the bundle context or null if no such implementation was found.

Returns:
a currently valid implementation of the ConfigurationService.

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

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