You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "David Jencks (JIRA)" <ji...@apache.org> on 2013/09/11 01:21:51 UTC

[jira] [Commented] (FELIX-4176) ScrService should provide method to get Component configuration (if present)

    [ 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