[
https://issues.apache.org/jira/browse/FELIX-865?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Work on FELIX-865 started by Felix Meschberger.
> OBR: Do not declare ManagedService[Factory], ConfigurationListener and
> PersistenceManager as required services
> --------------------------------------------------------------------------------------------------------------
>
> Key: FELIX-865
> URL: https://issues.apache.org/jira/browse/FELIX-865
> Project: Felix
> Issue Type: Improvement
> Components: Configuration Admin
> Affects Versions: configadmin-1.0.4
> Reporter: Felix Meschberger
> Assignee: Felix Meschberger
> Fix For: configadmin-1.0.6
>
>
> Trejkaz has reported on the user list [1], that when trying to deploy the
> Configuration Admin implementation bundle, the Web Console bundles 1.0.0 and
> 1.2.0 will both be included in the deployment. This is not desirable at all.
> The problem seems to be, as Clement Escoffier has tracked down, that the OBR
> descriptor of the Configuration Admin declares to "require" ManagedService
> and ManagedServiceFactory services. This is only partly correct: It is
> correct in that the Configuration Admin of course listens for such services
> to provide the configuration. It is not actually correct, since the
> Configuration Admin service does not really need such service implementations.
> Therefore, it is not required for the OBR descriptor to require these
> services.
> The same holds for PersistenceManager service: While the Configuration Admin
> actually requires at least an instance of this service, it also provides such
> a service. Therefore, it is probably not needed to require it.
> Finally the ConfigurationListener service must not be required, too, since
> this is also just acquired by the Configuration Admin to send configuration
> information.
> [1] http://markmail.org/message/voxi6mdzro6ks6uq
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.