public class AdminHelper extends Object
Constructor and Description |
---|
AdminHelper(ConfigurationAdmin configAdmin,
org.osgi.service.cm.ConfigurationAdmin configurationAdmin) |
Modifier and Type | Method and Description |
---|---|
long |
getBundleId(org.osgi.service.cm.Configuration config) |
String |
getBundleName(org.osgi.service.cm.Configuration config) |
org.osgi.service.cm.Configuration |
getConfiguration(ConfiguredService cs) |
List<org.osgi.service.cm.Configuration> |
getConfigurations(Service metatype) |
List<Service> |
getMetatypes() |
String |
getName(org.osgi.service.cm.Configuration config) |
List<Source> |
getRegistrySources() |
public AdminHelper(ConfigurationAdmin configAdmin, org.osgi.service.cm.ConfigurationAdmin configurationAdmin)
public List<Source> getRegistrySources() throws org.osgi.framework.InvalidSyntaxException
org.osgi.framework.InvalidSyntaxException
public List<org.osgi.service.cm.Configuration> getConfigurations(Service metatype) throws org.osgi.framework.InvalidSyntaxException, IOException
org.osgi.framework.InvalidSyntaxException
IOException
public org.osgi.service.cm.Configuration getConfiguration(ConfiguredService cs) throws IOException
IOException
public String getBundleName(org.osgi.service.cm.Configuration config)
public long getBundleId(org.osgi.service.cm.Configuration config)
public String getName(org.osgi.service.cm.Configuration config)
This work is licensed under a Creative Commons Attribution 4.0 International License.