net.java.sip.communicator.impl.audionotifier
Class AudioNotifierActivator
java.lang.Object
net.java.sip.communicator.impl.audionotifier.AudioNotifierActivator
- All Implemented Interfaces:
- org.osgi.framework.BundleActivator
public class AudioNotifierActivator
- extends Object
- implements org.osgi.framework.BundleActivator
The AudioNotifier activator class.
- Author:
- Yana Stamcheva
|
Field Summary |
static org.osgi.framework.BundleContext |
bundleContext
A currently valid bundle context. |
|
Method Summary |
static ResourceManagementService |
getResources()
|
void |
start(org.osgi.framework.BundleContext bContext)
Called when this bundle is started. |
void |
stop(org.osgi.framework.BundleContext bContext)
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 |
bundleContext
public static org.osgi.framework.BundleContext bundleContext
- A currently valid bundle context.
AudioNotifierActivator
public AudioNotifierActivator()
start
public void start(org.osgi.framework.BundleContext bContext)
throws Exception
- Called when this bundle is started.
- Specified by:
start in interface org.osgi.framework.BundleActivator
- Parameters:
bContext - The execution context of the bundle being started.
- Throws:
Exception
stop
public void stop(org.osgi.framework.BundleContext bContext)
throws Exception
- 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:
bContext - The execution context of the bundle being stopped.
- Throws:
Exception - If this method throws an exception, the bundle is
still marked as stopped, and the Framework will remove the bundle's
listeners, unregister all services registered by the bundle, and
release all services used by the bundle.
getResources
public static ResourceManagementService getResources()
SIP Communicator, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.