Details
-
Bug
-
Resolution: Obsolete
-
Major
-
None
-
None
-
None
-
None
Description
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.