public class ConfigurationAdapter extends Object implements org.osgi.service.cm.Configuration
ConfigurationAdapter is just an adapter to the internal
configuration object. Instances of this class are returned as Configuration
objects to the client, where each caller gets a fresh instance of this
class while internal Configuration objects are shared.| Modifier and Type | Method and Description |
|---|---|
void |
delete() |
boolean |
equals(Object obj) |
String |
getBundleLocation() |
String |
getFactoryPid() |
String |
getPid() |
Dictionary |
getProperties() |
int |
hashCode() |
void |
setBundleLocation(String bundleLocation) |
String |
toString() |
void |
update() |
void |
update(Dictionary properties) |
public String getPid()
getPid in interface org.osgi.service.cm.ConfigurationConfigurationImpl.getPid()public String getFactoryPid()
getFactoryPid in interface org.osgi.service.cm.ConfigurationConfigurationImpl.getFactoryPid()public String getBundleLocation()
getBundleLocation in interface org.osgi.service.cm.ConfigurationConfigurationImpl.getBundleLocation()public void setBundleLocation(String bundleLocation)
setBundleLocation in interface org.osgi.service.cm.ConfigurationbundleLocation - org.apache.felix.cm.impl.ConfigurationImpl#setBundleLocation(java.lang.String)public void update()
throws IOException
update in interface org.osgi.service.cm.ConfigurationIOExceptionConfigurationImpl.update()public void update(Dictionary properties) throws IOException
update in interface org.osgi.service.cm.Configurationproperties - IOExceptionConfigurationImpl.update(java.util.Dictionary)public Dictionary getProperties()
getProperties in interface org.osgi.service.cm.Configurationorg.apache.felix.cm.impl.ConfigurationImpl#getProperties()public void delete()
throws IOException
delete in interface org.osgi.service.cm.ConfigurationIOExceptionConfigurationImpl.delete()public int hashCode()
public boolean equals(Object obj)
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.