[weld-issues] [JBoss JIRA] Created: (CDI-43) Allow Extensions to specify the annotations that they are interested in
Stuart Douglas (JIRA)
jira-events at lists.jboss.org
Sun Jan 23 20:20:49 EST 2011
Allow Extensions to specify the annotations that they are interested in
-----------------------------------------------------------------------
Key: CDI-43
URL: https://issues.jboss.org/browse/CDI-43
Project: CDI Specification Issues
Issue Type: Feature Request
Reporter: Stuart Douglas
Currently portable extensions that wish to look for a specific annotation have to look through all availible classes in the ProcessAnnotatatedType event, which is quite inefficient. It would be good if extensions could do something like:
public void processAnnotatedType(@Observes @RequireAnnotations({@Unwraps.class}) ProcessAnnotatedType pat)
This could allow the container to take advantage of annotation indexing to improve boot time performance, as well as reducing uneeded processing in the observer.
--
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