[cdi-dev] Bean Discovery Mode in SE

John D. Ament john.d.ament at gmail.com
Sun Mar 1 09:54:15 EST 2015


I'd like to propose in my doc changes for CDI-26 that if a classpath entry
does not contain a META-INF/beans.xml that it is treated as if it were
bean-discovery-mode=none, e.g. no beans will be scanned in that entry.
(BTW, I'm using classpath entry rather than archive in the document to
account for cases where someone does -cp
"./classes:./extra-classes:./lib/*" to define their classpath)

It's a bit different than how EE works, but I could imagine it causing
fewer headaches when running on SE classpaths.

Any thoughts/comments?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/cdi-dev/attachments/20150301/a03a9972/attachment.html 

More information about the cdi-dev mailing list