Class ConfigurationUtil
- java.lang.Object
-
- org.apache.felix.webconsole.internal.configuration.ConfigurationUtil
-
public class ConfigurationUtil extends Object
-
-
Constructor Summary
Constructors Constructor Description ConfigurationUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.osgi.service.cm.Configuration
findConfiguration(org.osgi.service.cm.ConfigurationAdmin service, String pid)
static org.osgi.service.cm.Configuration
getOrCreateConfiguration(org.osgi.service.cm.ConfigurationAdmin service, List<ConfigurationHandler> handlers, String pid, String factoryPid)
static org.osgi.service.cm.Configuration
getPlaceholderConfiguration(String factoryPid)
static String
getPlaceholderPid()
static boolean
isAllowedPid(String pid)
-
-
-
Method Detail
-
findConfiguration
public static org.osgi.service.cm.Configuration findConfiguration(org.osgi.service.cm.ConfigurationAdmin service, String pid)
-
getOrCreateConfiguration
public static org.osgi.service.cm.Configuration getOrCreateConfiguration(org.osgi.service.cm.ConfigurationAdmin service, List<ConfigurationHandler> handlers, String pid, String factoryPid) throws ValidationException, IOException
- Throws:
ValidationException
IOException
-
isAllowedPid
public static final boolean isAllowedPid(String pid)
-
getPlaceholderConfiguration
public static org.osgi.service.cm.Configuration getPlaceholderConfiguration(String factoryPid)
-
getPlaceholderPid
public static String getPlaceholderPid()
-
-