public class ConfigurationAdapter
extends java.lang.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(java.lang.Object obj) |
java.lang.String |
getBundleLocation() |
long |
getChangeCount() |
java.lang.String |
getFactoryPid() |
java.lang.String |
getPid() |
java.util.Dictionary |
getProperties() |
int |
hashCode() |
void |
setBundleLocation(java.lang.String bundleLocation) |
java.lang.String |
toString() |
void |
update() |
void |
update(java.util.Dictionary properties) |
public java.lang.String getPid()
getPid in interface org.osgi.service.cm.ConfigurationConfigurationImpl.getPid()public java.lang.String getFactoryPid()
getFactoryPid in interface org.osgi.service.cm.ConfigurationConfigurationImpl.getFactoryPid()public java.lang.String getBundleLocation()
getBundleLocation in interface org.osgi.service.cm.ConfigurationConfigurationImpl.getBundleLocation()public void setBundleLocation(java.lang.String bundleLocation)
setBundleLocation in interface org.osgi.service.cm.ConfigurationbundleLocation - org.apache.felix.cm.impl.ConfigurationImpl#setBundleLocation(java.lang.String)public void update()
throws java.io.IOException
update in interface org.osgi.service.cm.Configurationjava.io.IOExceptionConfigurationImpl.update()public void update(java.util.Dictionary properties)
throws java.io.IOException
update in interface org.osgi.service.cm.Configurationproperties - java.io.IOExceptionConfigurationImpl.update(java.util.Dictionary)public java.util.Dictionary getProperties()
getProperties in interface org.osgi.service.cm.Configurationpublic long getChangeCount()
getChangeCount in interface org.osgi.service.cm.Configurationpublic void delete()
throws java.io.IOException
delete in interface org.osgi.service.cm.Configurationjava.io.IOExceptionConfigurationImpl.delete()public int hashCode()
hashCode in interface org.osgi.service.cm.ConfigurationhashCode in class java.lang.ObjectConfigurationImpl.hashCode()public boolean equals(java.lang.Object obj)
equals in interface org.osgi.service.cm.Configurationequals in class java.lang.Objectobj - ConfigurationImpl.equals(java.lang.Object)public java.lang.String toString()
toString in class java.lang.ObjectConfigurationImpl.toString()Copyright © 2014 FuseSource, Corp.. All Rights Reserved.