public class Activator extends Object implements org.osgi.framework.BundleActivator, org.osgi.framework.SynchronousBundleListener
OnmsServiceManager service.
This bundle registers a EventRegistry and a OnmsServiceManager to the OSGI-Container at bundle
activation when the property "OnmsAutoExportServices" is set in the MANIFEST.MF file.| Constructor and Description |
|---|
Activator() |
| Modifier and Type | Method and Description |
|---|---|
void |
bundleChanged(org.osgi.framework.BundleEvent event) |
void |
start(org.osgi.framework.BundleContext context) |
void |
stop(org.osgi.framework.BundleContext context) |
public void start(org.osgi.framework.BundleContext context)
throws Exception
start in interface org.osgi.framework.BundleActivatorExceptionpublic void stop(org.osgi.framework.BundleContext context)
throws Exception
stop in interface org.osgi.framework.BundleActivatorExceptionpublic void bundleChanged(org.osgi.framework.BundleEvent event)
bundleChanged in interface org.osgi.framework.BundleListenerCopyright © 2020. All rights reserved.