[cdi-dev] [JBoss JIRA] (CDI-560) bean archive

Emily Jiang (JIRA) issues at jboss.org
Thu Sep 10 06:36:00 EDT 2015

Emily Jiang created CDI-560:

             Summary: bean archive
                 Key: CDI-560
                 URL: https://issues.jboss.org/browse/CDI-560
             Project: CDI Specification Issues
          Issue Type: Clarification
          Components: Concepts
    Affects Versions: 2.0-EDR1
         Environment: 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."
            Reporter: Emily Jiang
            Priority: Minor

This message was sent by Atlassian JIRA

More information about the cdi-dev mailing list