public class StaticConfigurationImpl extends Object implements org.osgi.service.cm.Configuration
| Constructor and Description |
|---|
StaticConfigurationImpl(String pid,
String factoryPid,
Map<String,Object> properties) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAttributes(org.osgi.service.cm.Configuration.ConfigurationAttribute... attrs) |
void |
delete() |
Set<org.osgi.service.cm.Configuration.ConfigurationAttribute> |
getAttributes() |
String |
getBundleLocation() |
long |
getChangeCount() |
String |
getFactoryPid() |
String |
getPid() |
Dictionary<String,Object> |
getProcessedProperties(org.osgi.framework.ServiceReference<?> reference) |
Dictionary<String,Object> |
getProperties() |
void |
removeAttributes(org.osgi.service.cm.Configuration.ConfigurationAttribute... attrs) |
void |
setBundleLocation(String location) |
void |
update() |
void |
update(Dictionary<String,?> properties) |
boolean |
updateIfDifferent(Dictionary<String,?> properties) |
public String getPid()
getPid in interface org.osgi.service.cm.Configurationpublic Dictionary<String,Object> getProperties()
getProperties in interface org.osgi.service.cm.Configurationpublic void update(Dictionary<String,?> properties) throws IOException
update in interface org.osgi.service.cm.ConfigurationIOExceptionpublic void delete()
throws IOException
delete in interface org.osgi.service.cm.ConfigurationIOExceptionpublic String getFactoryPid()
getFactoryPid in interface org.osgi.service.cm.Configurationpublic void update()
throws IOException
update in interface org.osgi.service.cm.ConfigurationIOExceptionpublic void setBundleLocation(String location)
setBundleLocation in interface org.osgi.service.cm.Configurationpublic String getBundleLocation()
getBundleLocation in interface org.osgi.service.cm.Configurationpublic long getChangeCount()
getChangeCount in interface org.osgi.service.cm.Configurationpublic Dictionary<String,Object> getProcessedProperties(org.osgi.framework.ServiceReference<?> reference)
getProcessedProperties in interface org.osgi.service.cm.Configurationpublic boolean updateIfDifferent(Dictionary<String,?> properties) throws IOException
updateIfDifferent in interface org.osgi.service.cm.ConfigurationIOExceptionpublic void addAttributes(org.osgi.service.cm.Configuration.ConfigurationAttribute... attrs)
throws IOException
addAttributes in interface org.osgi.service.cm.ConfigurationIOExceptionpublic Set<org.osgi.service.cm.Configuration.ConfigurationAttribute> getAttributes()
getAttributes in interface org.osgi.service.cm.Configurationpublic void removeAttributes(org.osgi.service.cm.Configuration.ConfigurationAttribute... attrs)
throws IOException
removeAttributes in interface org.osgi.service.cm.ConfigurationIOExceptionCopyright © 2007–2021 The Apache Software Foundation. All rights reserved.