You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Michael Vorburger (Created) (JIRA)" <ji...@apache.org> on 2011/11/06 21:39:51 UTC

[jira] [Created] (BEANUTILS-407) DynaBean & Byte Code generation, for interoperability

DynaBean & Byte Code generation, for interoperability
-----------------------------------------------------

                 Key: BEANUTILS-407
                 URL: https://issues.apache.org/jira/browse/BEANUTILS-407
             Project: Commons BeanUtils
          Issue Type: New Feature
          Components: DynaBean
    Affects Versions: 1.8.3
            Reporter: Michael Vorburger
            Priority: Critical


It would be very very cool if DynaBeans could be used with any framework doing reflection - not only the specially DynaBean-aware BeanUtils.

It turns out that using CGLIB this would be possible, I've tried and will attach a patch.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (BEANUTILS-407) DynaBean & Byte Code generation, for interoperability

Posted by "Michael Vorburger (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/BEANUTILS-407?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Vorburger updated BEANUTILS-407:
----------------------------------------

    Attachment: 0001-BEANUTILS-407-DynaBean-Byte-Code-generation.patch

Attached proposed patch.

Same also on https://github.com/vorburger/apache-commons-beanutils/compare/master...bytecodefun (would be easier with BEANUTILS-404...)

Usage see in proposed doc on https://github.com/vorburger/apache-commons-beanutils/commit/85322280b3f981a3b3221d3ee414d5a52658b89d#src/main/java/org/apache/commons/beanutils/package.html
                
> DynaBean & Byte Code generation, for interoperability
> -----------------------------------------------------
>
>                 Key: BEANUTILS-407
>                 URL: https://issues.apache.org/jira/browse/BEANUTILS-407
>             Project: Commons BeanUtils
>          Issue Type: New Feature
>          Components: DynaBean
>    Affects Versions: 1.8.3
>            Reporter: Michael Vorburger
>            Priority: Critical
>         Attachments: 0001-BEANUTILS-407-DynaBean-Byte-Code-generation.patch
>
>
> It would be very very cool if DynaBeans could be used with any framework doing reflection - not only the specially DynaBean-aware BeanUtils.
> It turns out that using CGLIB this would be possible, I've tried and will attach a patch.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (BEANUTILS-407) DynaBean & Byte Code generation, for interoperability

Posted by "Michael Vorburger (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BEANUTILS-407?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13145110#comment-13145110 ] 

Michael Vorburger commented on BEANUTILS-407:
---------------------------------------------

BEANUTILS-405, which is per se unrelated to this, may have a follow-up impact on this, for consistency: Users would probably expect that the wrapper turn a "normal" DynaBean returned from get() into a "wrapped" one as well?
                
> DynaBean & Byte Code generation, for interoperability
> -----------------------------------------------------
>
>                 Key: BEANUTILS-407
>                 URL: https://issues.apache.org/jira/browse/BEANUTILS-407
>             Project: Commons BeanUtils
>          Issue Type: New Feature
>          Components: DynaBean
>    Affects Versions: 1.8.3
>            Reporter: Michael Vorburger
>            Priority: Critical
>         Attachments: 0001-BEANUTILS-407-DynaBean-Byte-Code-generation.patch
>
>
> It would be very very cool if DynaBeans could be used with any framework doing reflection - not only the specially DynaBean-aware BeanUtils.
> It turns out that using CGLIB this would be possible, I've tried and will attach a patch.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira