Uploaded image for project: 'CDI Specification Issues'
  1. CDI Specification Issues
  2. CDI-402

Clarify ProcessAnnotatedType for implicit bean archives

    XMLWordPrintable

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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            struberg Mark Struberg (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: