[
https://issues.apache.org/jira/browse/FELIX-4176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13763687#comment-13763687
]
David Jencks commented on FELIX-4176:
-------------------------------------
See enterprise 500 spec 104.4.5, the configuration properties include
service.pid which is the (possibly targeted) pid of the configuration. I don't
think providing a convenience api to get the Configuration object is a good
idea. For instance, until recently (and not yet in a released CA version)
Configuration objects returned by felix ConfigAdmin didn't work after the
config admin service was ungot.
I'm going to close this as won't fix unless someone comes up with a really good
argument why the api would be a good idea.
> ScrService should provide method to get Component configuration (if present)
> ----------------------------------------------------------------------------
>
> Key: FELIX-4176
> URL: https://issues.apache.org/jira/browse/FELIX-4176
> Project: Felix
> Issue Type: Improvement
> Components: Declarative Services (SCR)
> Reporter: Christoph Läubrich
> Priority: Minor
>
> Currently the Properties can be quieried, but it is not possible to access
> the configuration the component has currently in use.
> It would be nice if at least the pid can be querried (this is usefull for
> factory configurations).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira