public class GlobalShortcutActivator
extends java.lang.Object
implements org.osgi.framework.BundleActivator
Modifier and Type | Field and Description |
---|---|
protected static GlobalShortcutServiceImpl |
globalShortcutService
The GlobalShortcutServiceImpl.
|
Constructor and Description |
---|
GlobalShortcutActivator() |
Modifier and Type | Method and Description |
---|---|
static KeybindingsService |
getKeybindingsService()
Returns the KeybindingsService obtained from the bundle context.
|
static UIService |
getUIService()
Returns the UIService obtained from the bundle context.
|
void |
registerListenerWithProtocolProviderService()
Get all registered ProtocolProviderService and set our listener.
|
void |
start(org.osgi.framework.BundleContext bundleContext)
Starts the execution of this service bundle in the specified context.
|
void |
stop(org.osgi.framework.BundleContext bundleContext)
Stops the execution of this service bundle in the specified context.
|
protected static GlobalShortcutServiceImpl globalShortcutService
public static KeybindingsService getKeybindingsService()
public static UIService getUIService()
public void start(org.osgi.framework.BundleContext bundleContext) throws java.lang.Exception
start
in interface org.osgi.framework.BundleActivator
bundleContext
- the context in which the service bundle is to
start executingjava.lang.Exception
- if an error occurs while starting the execution of the
service bundle in the specified contextpublic void stop(org.osgi.framework.BundleContext bundleContext) throws java.lang.Exception
stop
in interface org.osgi.framework.BundleActivator
bundleContext
- the context in which this service bundle is to
stop executingjava.lang.Exception
- if an error occurs while stopping the execution of the
service bundle in the specified contextpublic void registerListenerWithProtocolProviderService()
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.