public class StateConfig
extends java.lang.Object
implements org.osgi.service.cm.ManagedService
BundleState and ServiceState.| Constructor and Description |
|---|
StateConfig() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isAttributeChangeNotificationEnabled()
Whether or not JMX attribute change notifications should be triggered when attributes change.
|
boolean |
isBundleChangeNotificationEnabled()
Whether or not JMX bundle change notifications should be triggered when bundle change.
|
boolean |
isServiceChangeNotificationEnabled()
Whether or not JMX OSGi service change notifications should be triggered when OSGi service change.
|
static StateConfig |
register(org.osgi.framework.BundleContext context)
Registers this service and returns an instance.
|
void |
updated(java.util.Dictionary<java.lang.String,?> dictionary) |
public static StateConfig register(org.osgi.framework.BundleContext context) throws java.io.IOException
context - the bundle contextjava.io.IOExceptionpublic void updated(java.util.Dictionary<java.lang.String,?> dictionary)
throws org.osgi.service.cm.ConfigurationException
updated in interface org.osgi.service.cm.ManagedServiceorg.osgi.service.cm.ConfigurationExceptionpublic boolean isAttributeChangeNotificationEnabled()
true if attribute change notifications are enabledpublic boolean isServiceChangeNotificationEnabled()
true if OSGi service change notifications are enabledpublic boolean isBundleChangeNotificationEnabled()
true if bundle change notifications are enabledCopyright © 2009-2019 The Apache Software Foundation. All Rights Reserved.