public class Activator extends Object implements org.osgi.framework.BundleActivator, org.osgi.framework.SynchronousBundleListener
| Constructor and Description |
|---|
Activator() |
| Modifier and Type | Method and Description |
|---|---|
void |
bundleChanged(org.osgi.framework.BundleEvent event) |
protected void |
debugPrintln(String msg)
Output debugging messages.
|
protected void |
register(org.osgi.framework.Bundle bundle) |
void |
start(org.osgi.framework.BundleContext bundleContext) |
void |
stop(org.osgi.framework.BundleContext bundleContext) |
protected void |
unregister(long bundleId) |
protected void debugPrintln(String msg)
Output debugging messages.
msg - String to print to stderr.public void start(org.osgi.framework.BundleContext bundleContext)
throws Exception
start in interface org.osgi.framework.BundleActivatorExceptionpublic void stop(org.osgi.framework.BundleContext bundleContext)
throws Exception
stop in interface org.osgi.framework.BundleActivatorExceptionpublic void bundleChanged(org.osgi.framework.BundleEvent event)
bundleChanged in interface org.osgi.framework.BundleListenerprotected void register(org.osgi.framework.Bundle bundle)
protected void unregister(long bundleId)
Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.