@Singleton public class KarafSystemReady extends SimpleSystemReadyMonitor implements Runnable
SystemReadyMonitor
implementation for an OSGi Karaf environment. This
relies on odlparent.bundlestest.lib, which internally uses Karaf specific API
to get Blueprint status, in addition to basic OSGi bundle status.Constructor and Description |
---|
KarafSystemReady(org.osgi.framework.BundleContext bundleContext,
org.apache.karaf.bundle.core.BundleService bundleService) |
Modifier and Type | Method and Description |
---|---|
void |
init() |
void |
run() |
void |
stop() |
getFailureCause, getSystemState, ready, registerListener, setSystemFailureCause, setSystemState
@Inject public KarafSystemReady(org.osgi.framework.BundleContext bundleContext, org.apache.karaf.bundle.core.BundleService bundleService) throws JMException
JMException
@PostConstruct public void init()
@PreDestroy public void stop() throws MalformedObjectNameException, InstanceNotFoundException, MBeanRegistrationException
Copyright © 2019 OpenDaylight. All rights reserved.