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.BundleActivator
Exception
public void stop(org.osgi.framework.BundleContext context) throws Exception
stop
in interface org.osgi.framework.BundleActivator
Exception
public void bundleChanged(org.osgi.framework.BundleEvent event)
bundleChanged
in interface org.osgi.framework.BundleListener
Copyright © 2021. All rights reserved.