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.Configuration
ConfigurationImpl.getPid()
public String getFactoryPid()
getFactoryPid
in interface org.osgi.service.cm.Configuration
ConfigurationImpl.getFactoryPid()
public String getBundleLocation()
getBundleLocation
in interface org.osgi.service.cm.Configuration
ConfigurationImpl.getBundleLocation()
public void setBundleLocation(String bundleLocation)
setBundleLocation
in interface org.osgi.service.cm.Configuration
bundleLocation
- org.apache.felix.cm.impl.ConfigurationImpl#setBundleLocation(java.lang.String)
public void update() throws IOException
update
in interface org.osgi.service.cm.Configuration
IOException
ConfigurationImpl.update()
public void update(Dictionary properties) throws IOException
update
in interface org.osgi.service.cm.Configuration
properties
- IOException
ConfigurationImpl.update(java.util.Dictionary)
public Dictionary getProperties()
getProperties
in interface org.osgi.service.cm.Configuration
org.apache.felix.cm.impl.ConfigurationImpl#getProperties()
public void delete() throws IOException
delete
in interface org.osgi.service.cm.Configuration
IOException
ConfigurationImpl.delete()
public int hashCode()
public boolean equals(Object obj)
Copyright © 2006-2013 The Apache Software Foundation. All Rights Reserved.