[cdi-dev] [JBoss JIRA] (CDI-402) Clarify ProcessAnnotatedType for implicit bean archives
Mark Struberg (JIRA)
jira-events at lists.jboss.org
Tue Sep 17 05:52:03 EDT 2013
Mark Struberg created CDI-402:
---------------------------------
Summary: Clarify ProcessAnnotatedType for implicit bean archives
Key: CDI-402
URL: https://issues.jboss.org/browse/CDI-402
Project: CDI Specification Issues
Issue Type: Bug
Reporter: Mark Struberg
There is a sentence in the spec which might be heavy to implement correctly in a non-expensive way: "An implicit bean archive is any other archive which contains one or more bean classes with a bean defining annotation, or one or more session beans."
This means that we _first_ need to scan all classes whether one of them has a scope, and then do it all over again and fire ProcessAnnotatedType events for all of them if we find one?
And to go one step further: is the assumption correct that we must not fire any PAT if no class with a scope has been found in that ClassPath entry?
This might be pretty expensive to implement.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the cdi-dev
mailing list