[weld-issues] [JBoss JIRA] Created: (CDI-33) fire ProcessAnnotatedType for AnnotatedTypes added via BBD.addAnnotatedType()

Jozef Hartinger (JIRA) jira-events at lists.jboss.org
Tue Jan 11 08:38:49 EST 2011


fire ProcessAnnotatedType for AnnotatedTypes added via BBD.addAnnotatedType()
-----------------------------------------------------------------------------

                 Key: CDI-33
                 URL: https://issues.jboss.org/browse/CDI-33
             Project: CDI Specification Issues
          Issue Type: Task
            Reporter: Jozef Hartinger


Currently, the ProcessAnnotatedType event is fired for AnnotatedTypes discovered in a BDA only. However, portable extensions are allowed to register other AnnotatedTypes using addAnnotatedType() during the BeforeBeanDiscovery phase. For these AnnotatedTypes, the ProcessAnnotatedType event is not fired. 

However, an extension A may register an AnnotatedType X via addAnnotatedType() and an extension B might want to react on the presence of AnnotatedType X. Therefore, it would be great to have the ProcessAnnotatedType fired also for AnnotatedTypes registered programatically in the BeforeBeanDiscovery phase.

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

        


More information about the weld-issues mailing list