felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pierre De Rop (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FELIX-5177) Support injecting configuration proxies
Date Wed, 03 Feb 2016 19:45:39 GMT

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

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

Thanks Jan Willem !

So far, I was using the "Configurable" Helper class for bndlib (see the updated method line
68, from [1]). But it would be nicer if we support this feature natively.

Let's schedule this improvement for the next upcomming R7 release 
:-)

[1] http://svn.apache.org/viewvc/felix/trunk/dependencymanager/org.apache.felix.dependencymanager.samples/src/org/apache/felix/dependencymanager/samples/dictionary/annot/DictionaryImpl.java

> Support injecting configuration proxies
> ---------------------------------------
>
>                 Key: FELIX-5177
>                 URL: https://issues.apache.org/jira/browse/FELIX-5177
>             Project: Felix
>          Issue Type: Improvement
>          Components: Dependency Manager Runtime
>            Reporter: J.W. Janssen
>
> 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)

Mime
View raw message