+1 for making it configurable whether or not implicit bean archives should get picked up automatically
+1 for only scanning explicit bean archives in SE mode
+0.5 for having a regexp exclude mechanism for defining classapth entries which should *not* get scanned.
Containers WILL have this. But it might be too much depending on the environment you are working in. E.g. for an OSGi environment it might not work out that way and a different mechanism is needed.
LieGrue,
strub
> Am 03.06.2015 um 18:30 schrieb John D. Ament <john.d.ament@gmail.com>:
>
> Ok then -1 from me.
> The reason I say -1 is because using a boolean is too restrictive.
>
> On Wed, Jun 3, 2015 at 12:29 PM Antoine Sabot-Durand <antoine@sabot-durand.net> wrote:
> Yes. that's the reason why this problem was raised by Jozef: having to scan all jars can be very resource consuming.
>
> Le mer. 3 juin 2015 à 17:19, John D. Ament <john.d.ament@gmail.com> a écrit :
> Just to clarify, are you saying that by default, only JARs that contain META-INF/beans.xml will be scanned.
> when you set this parameter to true, all JARs are scanned?
>
> John
>
> On Wed, Jun 3, 2015 at 10:14 AM Antoine Sabot-Durand <antoine@sabot-durand.net> wrote:
> Hi all,
>
>
> Yesterday during the meeting we had a discussion about implicit bean archive support under Java SE.
> The idea is to have it disabled by default and provide a way to activate it thru parameter "javax.enterprise.inject.scan.implicit=true”on command line or in the parameter map of the initialize method.
> Details of the discussion and points of people pro and against this support can be found in meeting log :
>
> http://transcripts.jboss.org/meeting/irc.freenode.org/cdi-dev/2015/cdi-dev.2015-06-02-16.01.log.html
>
> I’d like to call for a vote regarding the support of implicit bean archive under Java SE.
>
> This vote will be open for 72 hrs. Answer +1 (yes), 0 (don’t care), -1 (no) to this mail to vote.
>
> Thanks
>
> Antoine
> _______________________________________________
> cdi-dev mailing list
> cdi-dev@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/cdi-dev
>
> Note that for all code provided on this list, the provider licenses the code under the Apache License, Version 2 (http://www.apache.org/licenses/LICENSE-2.0.html). For all other ideas provided on this list, the provider waives all patent and other intellectual property rights inherent in such information.
> _______________________________________________
> cdi-dev mailing list
> cdi-dev@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/cdi-dev
>
> Note that for all code provided on this list, the provider licenses the code under the Apache License, Version 2 (http://www.apache.org/licenses/LICENSE-2.0.html). For all other ideas provided on this list, the provider waives all patent and other intellectual property rights inherent in such information.
_______________________________________________
cdi-dev mailing list
cdi-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/cdi-dev
Note that for all code provided on this list, the provider licenses the code under the Apache License, Version 2 (http://www.apache.org/licenses/LICENSE-2.0.html). For all other ideas provided on this list, the provider waives all patent and other intellectual property rights inherent in such information.