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