public class TamayaConfigurationImpl extends Object implements org.osgi.service.cm.Configuration
Configuration
.Constructor and Description |
---|
TamayaConfigurationImpl(String confPid,
String factoryPid,
OSGIConfigRootMapper configRootMapper,
org.osgi.service.cm.ConfigurationAdmin parent)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
delete() |
String |
getBundleLocation() |
long |
getChangeCount() |
String |
getFactoryPid() |
String |
getPid() |
Dictionary<String,Object> |
getProperties() |
void |
setBundleLocation(String location) |
void |
update() |
void |
update(Dictionary<String,?> properties) |
public TamayaConfigurationImpl(String confPid, String factoryPid, OSGIConfigRootMapper configRootMapper, org.osgi.service.cm.ConfigurationAdmin parent)
confPid
- the OSGI pidfactoryPid
- the factory pidconfigRootMapper
- the mapper that maps the pids to a tamaya root section.parent
- the (optional delegating parent, used as default).public String getPid()
getPid
in interface org.osgi.service.cm.Configuration
public Dictionary<String,Object> getProperties()
getProperties
in interface org.osgi.service.cm.Configuration
public void update(Dictionary<String,?> properties) throws IOException
update
in interface org.osgi.service.cm.Configuration
IOException
public void delete() throws IOException
delete
in interface org.osgi.service.cm.Configuration
IOException
public String getFactoryPid()
getFactoryPid
in interface org.osgi.service.cm.Configuration
public void update() throws IOException
update
in interface org.osgi.service.cm.Configuration
IOException
public void setBundleLocation(String location)
setBundleLocation
in interface org.osgi.service.cm.Configuration
public String getBundleLocation()
getBundleLocation
in interface org.osgi.service.cm.Configuration
public long getChangeCount()
getChangeCount
in interface org.osgi.service.cm.Configuration
Copyright © 2014–2016 Apache Software Foundation. All rights reserved.