commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benedikt Ritter (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (BEANUTILS-248) Code to create a JavaBean and set its properties from a Java Properties instance
Date Thu, 14 Mar 2013 15:34:12 GMT

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

Benedikt Ritter commented on BEANUTILS-248:
-------------------------------------------

No, I tought {{populate()}} uses converters to convert strings passed in back to property
values (at least, this is what describe does). If it doesn't then it has to be {{Map<String,
Object>}}.
                
> Code to create a JavaBean and set its properties from a Java Properties instance
> --------------------------------------------------------------------------------
>
>                 Key: BEANUTILS-248
>                 URL: https://issues.apache.org/jira/browse/BEANUTILS-248
>             Project: Commons BeanUtils
>          Issue Type: Improvement
>          Components: Bean / Property Utils
>         Environment: Coded on Windows XP professional with Netbean 5.5 Beta 2 using JDK
1.5.0
>            Reporter: Trevor Charles Miller
>            Priority: Minor
>             Fix For: LATER THAN 1.8.4
>
>         Attachments: BeanCreator.java
>
>
> The idea is simple and I've seen this done in Log4J and had a use case for it myself
in another project. Given a set of properties, create an instance of a specified class and
set properties on it. I think this could be very useful for runtime configuration.

--
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

Mime
View raw message