[weld-issues] [JBoss JIRA] Commented: (WELDX-54) Please add implementation of AnnotatedType suitable for defining new AnnotatedTypes

Pete Muir (JIRA) jira-events at lists.jboss.org
Wed Dec 2 07:08:29 EST 2009


    [ https://jira.jboss.org/jira/browse/WELDX-54?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12497704#action_12497704 ] 

Pete Muir commented on WELDX-54:
--------------------------------

I've made a few changes to your patch and committed and deployed.

In general it would be better to make this totally immutable, and to generate new objects when you need to change the annotations, rather than altering the existing object, atm we have a weird mix of immutability and mutability. If you are familiar with builders, this is the sort of approach that would be suitable.

NB We need to do this with reannotated as well...

> Please add implementation of AnnotatedType suitable for defining new AnnotatedTypes
> -----------------------------------------------------------------------------------
>
>                 Key: WELDX-54
>                 URL: https://jira.jboss.org/jira/browse/WELDX-54
>             Project: Weld Extensions
>          Issue Type: Feature Request
>          Components: Weld Extensions
>            Reporter: Stuart Douglas
>             Fix For: Weld Extensions 1.0.0.Beta1
>
>         Attachments: new-annotated-types.diff
>
>
> Create implementation of AnnotatedType that can be used to add beans in the BeforeBeanDiscovery event. See attached patch

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the weld-issues mailing list