[cdi-dev] [JBoss JIRA] (CDI-560) A bean archive does not have to contain a beans.xml file

Martin Kouba (JIRA) issues at jboss.org
Thu Sep 10 06:53:00 EDT 2015


     [ https://issues.jboss.org/browse/CDI-560?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Kouba updated CDI-560:
-----------------------------
    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
{quote}
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.
{quote}

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."


> A bean archive does not have to contain a beans.xml file
> --------------------------------------------------------
>
>                 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
>
> 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
> {quote}
> 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.
> {quote}
> 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."



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the cdi-dev mailing list