Package org.apache.karaf.config.core
Interface ConfigRepository
-
- All Known Implementing Classes:
ConfigRepositoryImpl
public interface ConfigRepository
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringcreateFactoryConfiguration(String factoryPid, String alias, Map<String,Object> properties)StringcreateFactoryConfiguration(String factoryPid, String alias, Map<String,Object> properties, String suffix)StringcreateFactoryConfiguration(String factoryPid, Map<String,Object> properties)StringcreateFactoryConfiguration(String factoryPid, Map<String,Object> properties, String suffix)voiddelete(String pid)booleanexists(String pid)org.apache.felix.utils.properties.TypedPropertiesgetConfig(String pid)org.osgi.service.cm.ConfigurationAdmingetConfigAdmin()voidupdate(String pid, Map<String,Object> properties)voidupdate(String pid, Map<String,Object> properties, String suffix)
-
-
-
Method Detail
-
getConfigAdmin
org.osgi.service.cm.ConfigurationAdmin getConfigAdmin()
-
getConfig
org.apache.felix.utils.properties.TypedProperties getConfig(String pid) throws IOException, org.osgi.framework.InvalidSyntaxException
- Throws:
IOExceptionorg.osgi.framework.InvalidSyntaxException
-
update
void update(String pid, Map<String,Object> properties) throws IOException
- Throws:
IOException
-
update
void update(String pid, Map<String,Object> properties, String suffix) throws IOException
- Throws:
IOException
-
createFactoryConfiguration
String createFactoryConfiguration(String factoryPid, Map<String,Object> properties, String suffix) throws IOException
- Throws:
IOException
-
createFactoryConfiguration
String createFactoryConfiguration(String factoryPid, Map<String,Object> properties) throws IOException
- Throws:
IOException
-
createFactoryConfiguration
String createFactoryConfiguration(String factoryPid, String alias, Map<String,Object> properties) throws IOException
- Throws:
IOException
-
createFactoryConfiguration
String createFactoryConfiguration(String factoryPid, String alias, Map<String,Object> properties, String suffix) throws IOException
- Throws:
IOException
-
-