[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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cdi-dev