Hi out there

I read the OSGi R4.1 specification about the ConfigurationAdmin and do not 
clearly understand
if ConfigurationAdmin.getConfiguration(String pid) must only return 
configurations for ManagedService
(singleton) or also configurations for ManagedServiceFactory.

According to section 104.7.1 (OSGi Service Platform Service Compendium Release 
4, Version 4.1) the
getConfiguration(String pid) method should only return Configuration objects 
whose getFactoryPid() method
returns null.

And section 104.7.3 states that existing Configurations should be accessed 
using the function
ConfigurationAdmin.listConfigurations(String filter). And 
getConfiguration(String pid) should be
use to access single Configurations. What does the expression single 
Configuration mean? Is
this expression used to refer to a ManagedService Configuration (singleton) or 
does it mean any
Configuration identified by that PID no mather whether it is a factory 
configuration or not?

Kind regards

-Alex


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to