net.java.sip.communicator.plugin.exampleplugin
Class ExamplePluginActivator
java.lang.Object
net.java.sip.communicator.plugin.exampleplugin.ExamplePluginActivator
- All Implemented Interfaces:
- org.osgi.framework.BundleActivator
public class ExamplePluginActivator
- extends Object
- implements org.osgi.framework.BundleActivator
The ExamplePluginActivator is the entering point for the example
plugin bundle.
- Author:
- Yana Stamcheva
|
Method Summary |
void |
start(org.osgi.framework.BundleContext bc)
Called when this bundle is started so the Framework can perform the
bundle-specific activities necessary to start this bundle. |
void |
stop(org.osgi.framework.BundleContext bc)
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 |
logger
Logger logger
ExamplePluginActivator
public ExamplePluginActivator()
start
public void start(org.osgi.framework.BundleContext bc)
throws Exception
- Called when this bundle is started so the Framework can perform the
bundle-specific activities necessary to start this bundle. In the case
of our example plug-in we create our menu item and register it as a
plug-in component in the right button menu of the contact list.
- Specified by:
start in interface org.osgi.framework.BundleActivator
- Throws:
Exception
stop
public void stop(org.osgi.framework.BundleContext bc)
throws Exception
- Called when this bundle is stopped so the Framework can perform the
bundle-specific activities necessary to stop the bundle. In the case
of our example plug-in we have nothing to do here.
- Specified by:
stop in interface org.osgi.framework.BundleActivator
- Throws:
Exception
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.