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

Section 12.1 specifies that JVM classpath must be included in bean archive identification

    Details

    • Type: Clarification
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.2.Final
    • Fix Version/s: None
    • Labels:
      None

      Description

      Section 12.1 of the spec states:

      When determining which archives are bean archives, the container must consider:
      • Library jars, EJB jars or application client jars
      • The WEB-INF/classes directory of a war
      • Directories in the JVM classpath

      For CDI 1.0, I think the inclusion of "directories in the JVM classpath" would not be a big deal. However, since the introduction of implicit bean archives, I'm wondering if implementations are required to scan the JVM classpath for classes annotated with bean-defining annotations. This seems like it has the potential to be an expensive requirement, and it should not be required.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                phil.zampino Phil Zampino
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: