[jboss-jira] [JBoss JIRA] Updated: (JBMETA-300) Web30MetaDataCreator doesn't ignore classes annotated with @Singleton while creating metadata

jaikiran pai (JIRA) jira-events at lists.jboss.org
Mon Sep 27 10:14:28 EDT 2010


     [ https://jira.jboss.org/browse/JBMETA-300?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

jaikiran pai updated JBMETA-300:
--------------------------------

    Attachment: JBMETA-300.patch


Patch attached.


> Web30MetaDataCreator doesn't ignore classes annotated with @Singleton while creating metadata 
> ----------------------------------------------------------------------------------------------
>
>                 Key: JBMETA-300
>                 URL: https://jira.jboss.org/browse/JBMETA-300
>             Project: JBoss Metadata
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: web
>    Affects Versions: jboss-metadata-web-2.0.0-alpha-15
>            Reporter: jaikiran pai
>            Assignee: Remy Maucherat
>         Attachments: JBMETA-300.patch
>
>
> Web30MetaDataCreator doesn't ignore @Singleton while creating metadata from classes:
> static
>    {
>       // Ignoring classes with the the following type annotations
>       ignoreTypeAnnotations = new HashSet<Class<? extends Annotation>>();
>       ignoreTypeAnnotations.add(Stateful.class);
>       ignoreTypeAnnotations.add(Stateless.class);
>       ignoreTypeAnnotations.add(MessageDriven.class);
>       ignoreTypeAnnotations.add(Service.class);
>       ignoreTypeAnnotations.add(Consumer.class);
> }

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

        


More information about the jboss-jira mailing list