[cdi-dev] [JBoss JIRA] Created: (CDI-146) Add support for scanning annotations

George Gastaldi (JIRA) jira-events at lists.jboss.org
Tue Aug 2 10:57:23 EDT 2011


Add support for scanning annotations
------------------------------------

                 Key: CDI-146
                 URL: https://issues.jboss.org/browse/CDI-146
             Project: CDI Specification Issues
          Issue Type: Feature Request
            Reporter: George Gastaldi


There should be a way to listen to annotations when bootstraping an extension in CDI.
For example: I want to be notified whenever a @Entity is found on my deployment. 

With the current spec, I need to listen to every class and test if class.isAnnotationPresent(...) returns true.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the cdi-dev mailing list