org.apache.felix.cm.impl
Class ConfigurationAdapter

java.lang.Object
  extended by org.apache.felix.cm.impl.ConfigurationAdapter
All Implemented Interfaces:
Configuration

public class ConfigurationAdapter
extends Object
implements 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.


Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getPid

public String getPid()
Specified by:
getPid in interface Configuration
See Also:
ConfigurationImpl.getPid()

getFactoryPid

public String getFactoryPid()
Specified by:
getFactoryPid in interface Configuration
See Also:
ConfigurationImpl.getFactoryPid()

getBundleLocation

public String getBundleLocation()
Specified by:
getBundleLocation in interface Configuration
See Also:
ConfigurationImpl.getBundleLocation()

setBundleLocation

public void setBundleLocation(String bundleLocation)
Specified by:
setBundleLocation in interface Configuration
Parameters:
bundleLocation -
See Also:
ConfigurationImpl.setBundleLocation(java.lang.String)

update

public void update()
            throws IOException
Specified by:
update in interface Configuration
Throws:
IOException
See Also:
ConfigurationImpl.update()

update

public void update(Dictionary properties)
            throws IOException
Specified by:
update in interface Configuration
Parameters:
properties -
Throws:
IOException
See Also:
ConfigurationImpl.update(java.util.Dictionary)

getProperties

public Dictionary getProperties()
Specified by:
getProperties in interface Configuration
See Also:
org.apache.felix.cm.impl.ConfigurationImpl#getProperties()

delete

public void delete()
            throws IOException
Specified by:
delete in interface Configuration
Throws:
IOException
See Also:
ConfigurationImpl.delete()

hashCode

public int hashCode()
Specified by:
hashCode in interface Configuration
Overrides:
hashCode in class Object
See Also:
ConfigurationImpl.hashCode()

equals

public boolean equals(Object obj)
Specified by:
equals in interface Configuration
Overrides:
equals in class Object
Parameters:
obj -
See Also:
ConfigurationImpl.equals(java.lang.Object)

toString

public String toString()
Overrides:
toString in class Object
See Also:
ConfigurationImpl.toString()


Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.