public class ConfigSharingServiceImpl extends Object implements ConfigSharingService, org.osgi.framework.SynchronousBundleListener
ConfigSharingService.ConfigChangeEvent, ConfigSharingService.ConfigChangeListener
Constructor and Description |
---|
ConfigSharingServiceImpl() |
Modifier and Type | Method and Description |
---|---|
void |
bundleChanged(org.osgi.framework.BundleEvent bundleEvent) |
Object |
getProperty(String name) |
Set<String> |
getPropertyNames() |
boolean |
hasProperty(String name) |
void |
preDestroy() |
Object |
removeProperty(String name) |
void |
setBundleContext(org.osgi.framework.BundleContext bundleContext) |
void |
setConfigProperties(Map<String,Object> configProperties) |
Object |
setProperty(String name,
Object newValue) |
public void setBundleContext(org.osgi.framework.BundleContext bundleContext)
public Object getProperty(String name)
getProperty
in interface ConfigSharingService
public Object setProperty(String name, Object newValue)
setProperty
in interface ConfigSharingService
public boolean hasProperty(String name)
hasProperty
in interface ConfigSharingService
public Object removeProperty(String name)
removeProperty
in interface ConfigSharingService
public Set<String> getPropertyNames()
getPropertyNames
in interface ConfigSharingService
public void bundleChanged(org.osgi.framework.BundleEvent bundleEvent)
bundleChanged
in interface org.osgi.framework.BundleListener
Copyright © 2014–2022 Apache Software Foundation. All rights reserved.