commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oliver Heger (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CONFIGURATION-611) Provide methods to create Beans without knowledge of the Configuration's implementation
Date Mon, 12 Oct 2015 19:46:05 GMT

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

Oliver Heger commented on CONFIGURATION-611:
--------------------------------------------

Hi Jon,

thanks for your feedback. As for the documentation, do you have any suggestions how we could
add a kind of disclaimer that this feature should not be overrated? I recall that there is
at least a statement that Commons Configuration has no ambitions to become a dependency injection
framework.

I have no idea how many people use this functionality. In the past there have been a few bug
reports or improvement proposals in this area, so there seems to be at least some user base.

> Provide methods to create Beans without knowledge of the Configuration's implementation
> ---------------------------------------------------------------------------------------
>
>                 Key: CONFIGURATION-611
>                 URL: https://issues.apache.org/jira/browse/CONFIGURATION-611
>             Project: Commons Configuration
>          Issue Type: Improvement
>            Reporter: Jon Weygandt
>            Priority: Minor
>
> The current method to create a bean uses a pattern that requires the user to know of
the Configuration's implementation. (https://commons.apache.org/proper/commons-configuration/userguide/howto_beans.html#Declaring_and_Creating_Beans)
> It should be possible to decouple this dependency and have some implementation independent
method.
> One proposal would be to extend the BeanHelper code to implement this in a general way.
> Another proposal would be to have an interface that Configurations could extend to get
the BeanDeclaration.



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

Mime
View raw message