[
https://issues.jboss.org/browse/AS7-5965?page=com.atlassian.jira.plugin.s...
]
Stuart Douglas commented on AS7-5965:
-------------------------------------
The rar is a bean archive. The Embedded jar is not, same as if you had a war with
beans.xml and a library in WEB-INF/lib with no beans.xml, the classes in the library would
not be available for injection.
Resource adapter archive not recognized as CDI bean archive
-----------------------------------------------------------
Key: AS7-5965
URL:
https://issues.jboss.org/browse/AS7-5965
Project: Application Server 7
Issue Type: Bug
Components: CDI / Weld
Affects Versions: 7.1.2.Final (EAP)
Reporter: Martin Kouba
Assignee: Stuart Douglas
The CDI 1.0 spec states in 12.1. "Bean archives":
{quote}
A library jar, EJB jar, application client jar or rar archive is a bean archive if it has
a file named beans.xml in the META-INF directory.
...
In an application deployed as an ear, the container searches every bean archive bundled
with or referenced by the ear, including bean archives bundled with or referenced by wars
and EJB jars contained in the ear. The bean archives might be library jars, EJB jars, rars
or war WEB-INF/classes directories.
{quote}
However it seems that RARs are not recognized.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira