[ 
https://issues.apache.org/jira/browse/FELIX-4176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13767381#comment-13767381
 ] 

Christoph Läubrich commented on FELIX-4176:
-------------------------------------------

Hi [~djensen] thanks for looking at this. About the ungetting of CA: Should 
then the component configuration be resetted to default?

Beside this, I would also be happy to just get a Map<String, ?> back. The 
reason for this is, that for analysis it is somethimes good to know what are 
the original/actual values and wich are overriden by the cfg, but sure it would 
also be possible to fetch the Configuration on my own, it is just an extra step 
and in a secured envirourment I might not be allowed to fetch arbitary 
configuration objects from my diagnostic bundle!
And since the SCR already has all information at hand it seems legal to me to 
expose that via the API.
                
> 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

Reply via email to