[weld-dev] archives containing a beans.xml with bean-discovery-mode=all

Emily Jiang emijiang6 at googlemail.com
Tue Aug 18 05:36:56 EDT 2015


>From CDI spec,
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.

I think it is no need to create a bda for such bean archives, which implies
JavaEE component classes cannot support injection in these archives. These
archives are ignored basically. Right?

The spec does say an extension can exist in a non-bean archive but it does
not say anything about JavaEE component classes.


-- 
Thanks
Emily
=================
Emily Jiang
ejiang at apache.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/weld-dev/attachments/20150818/b2fa0adb/attachment.html 


More information about the weld-dev mailing list