org.apache.felix.cm.impl
Class ConfigurationAdapter
java.lang.Object
org.apache.felix.cm.impl.ConfigurationAdapter
- All Implemented Interfaces:
- org.osgi.service.cm.Configuration
public class ConfigurationAdapter
- extends java.lang.Object
- implements org.osgi.service.cm.Configuration
The 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.
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
getPid
public java.lang.String getPid()
- Specified by:
getPid in interface org.osgi.service.cm.Configuration
- See Also:
ConfigurationImpl.getPid()
getFactoryPid
public java.lang.String getFactoryPid()
- Specified by:
getFactoryPid in interface org.osgi.service.cm.Configuration
- See Also:
ConfigurationImpl.getFactoryPid()
getBundleLocation
public java.lang.String getBundleLocation()
- Specified by:
getBundleLocation in interface org.osgi.service.cm.Configuration
- See Also:
ConfigurationImpl.getBundleLocation()
setBundleLocation
public void setBundleLocation(java.lang.String bundleLocation)
- Specified by:
setBundleLocation in interface org.osgi.service.cm.Configuration
- Parameters:
bundleLocation - - See Also:
ConfigurationImpl.setStaticBundleLocation(String)
update
public void update()
throws java.io.IOException
- Specified by:
update in interface org.osgi.service.cm.Configuration
- Throws:
java.io.IOException- See Also:
ConfigurationImpl.update()
update
public void update(java.util.Dictionary properties)
throws java.io.IOException
- Specified by:
update in interface org.osgi.service.cm.Configuration
- Parameters:
properties -
- Throws:
java.io.IOException- See Also:
ConfigurationImpl.update(java.util.Dictionary)
getProperties
public java.util.Dictionary getProperties()
- Specified by:
getProperties in interface org.osgi.service.cm.Configuration
getChangeCount
public long getChangeCount()
- Specified by:
getChangeCount in interface org.osgi.service.cm.Configuration
delete
public void delete()
throws java.io.IOException
- Specified by:
delete in interface org.osgi.service.cm.Configuration
- Throws:
java.io.IOException- See Also:
ConfigurationImpl.delete()
hashCode
public int hashCode()
- Specified by:
hashCode in interface org.osgi.service.cm.Configuration- Overrides:
hashCode in class java.lang.Object
- See Also:
ConfigurationImpl.hashCode()
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equals in interface org.osgi.service.cm.Configuration- Overrides:
equals in class java.lang.Object
- Parameters:
obj - - See Also:
ConfigurationImpl.equals(java.lang.Object)
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
- See Also:
ConfigurationImpl.toString()
Copyright © 2006-2013 The Apache Software Foundation. All Rights Reserved.