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

A bean archive does not have to contain a beans.xml file

    XMLWordPrintable

Details

    • Clarification
    • Status: Resolved (View Workflow)
    • Minor
    • Resolution: Done
    • 2.0-EDR1
    • 2.0 .Final
    • Concepts
    • None

    Description

      Section 5.1 Modularity: The library is a bean archive if it contains
      a beans.xml file, as defined in Bean archives.

      It contradicts with the section 12.1

      An archive which:

      • contains a beans.xml file with the bean-discovery-mode of none, or,
      • contains an extension and no beans.xml file
        is not a bean archive.

      Therefore, an archive with beans.xml is not a bean archive if the bean-discovery-mode = "none".

      I think it is better to be "The library may be a bean archive, as defined in Bean archives."

      Attachments

        Activity

          People

            Unassigned Unassigned
            emijiang6 Emily Jiang (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: