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

Pierre De Rop commented on FELIX-5177:
--------------------------------------

I just committed in revision 1729508 the patch that you sent to me by mail, 
with the following minor changes:

- I added some comments in the FactoryConfigurationAdapterImplTest (where you 
added a TODO).
- I also moved the createCallbackType method from the 
FactoryConfigurationAdapterImpl to the ConfigurationDependencyImpl method;
- I added the two new createFactoryConfigurationAdapterService(...) methods in 
the DependencyActivatorBase class.
- Finally, I updated the Activator and the DictionaryImpl classes from the 
"dictionary.api" sample.

thanks for your help !

I now have to update the annotations for the support of config proxy in 
@FactoryConfigurationAdapter, and also have to 
update the dm-lambda library.


> Support injecting configuration proxies
> ---------------------------------------
>
>                 Key: FELIX-5177
>                 URL: https://issues.apache.org/jira/browse/FELIX-5177
>             Project: Felix
>          Issue Type: Improvement
>          Components: Dependency Manager, Dependency Manager Annotations, 
> Dependency Manager Lambda, Dependency Manager Runtime
>            Reporter: J.W. Janssen
>            Assignee: Pierre De Rop
>             Fix For:  org.apache.felix.dependencymanager-r7
>
>         Attachments: FELIX-5177.patch
>
>
> DM supports mandatory configurations, but does not allow anything other than 
> a dictionary to be passed to the callback. In other DI frameworks (like DS) 
> it is possible to use type-safe configurations and let those be injected 
> instead of plain dictionaries.
> It would be great if DM also would support this, as it would remove lots of 
> configuration boiler plate code from our projects.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to