Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.impl.keybindings
Class KeybindingsActivator

java.lang.Object
  extended by net.java.sip.communicator.impl.keybindings.KeybindingsActivator
All Implemented Interfaces:
org.osgi.framework.BundleActivator

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

Enabling and disabling osgi functionality for keybindings.

Author:
Damian Johnson

Constructor Summary
KeybindingsActivator()
           
 
Method Summary
static ConfigurationService getConfigService()
          Returns a reference to a ConfigurationService implementation currently registered in the bundle context or null if no such implementation was found.
static ResourceManagementService getResourceService()
          Returns the ResourceManagementService obtained from the bundle context.
 void start(org.osgi.framework.BundleContext context)
          Called when this bundle is started.
 void stop(org.osgi.framework.BundleContext context)
          Called when this bundle is stopped so the Framework can perform the bundle-specific activities necessary to stop the bundle.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KeybindingsActivator

public KeybindingsActivator()
Method Detail

start

public void start(org.osgi.framework.BundleContext context)
Called when this bundle is started.

Specified by:
start in interface org.osgi.framework.BundleActivator
Parameters:
context - The execution context of the bundle being started.

stop

public void stop(org.osgi.framework.BundleContext context)
Called when this bundle is stopped so the Framework can perform the bundle-specific activities necessary to stop the bundle.

Specified by:
stop in interface org.osgi.framework.BundleActivator
Parameters:
context - The execution context of the bundle being stopped.

getConfigService

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

Returns:
a currently valid implementation of the ConfigurationService.

getResourceService

public static ResourceManagementService getResourceService()
Returns the ResourceManagementService obtained from the bundle context.

Returns:
the ResourceManagementService obtained from the bundle context

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

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