You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by Mark Struberg <st...@yahoo.de> on 2014/05/11 22:55:27 UTC
BDA scanning via isBDABeansXmlScanningEnabled
Hi folks!
The current impl of isBDABeansXmlScanningEnabled() is pretty much disfunctional.
This has to do that the BDA specification in CDI-1.1 is not as clear as it should be.
To get this straight: the BDA is not about specific JARs but rather about the 'modularization'. Means it's all about ClassLoaders.
If you have an EAR with 3 WARs then we should have 4 BeanManager. One for the ear/lib and one for each WAR file which *delegate* to the 'parent' BeanManager. And the BDA granularity in practice can also only work on this level.
While cleaning up the AlternativesManager, I also gonna remove this briken isBDABeansXmlScanningEnabled approach from where ever I find it along the way.
LieGrue,
strub
Re: BDA scanning via isBDABeansXmlScanningEnabled
Posted by Romain Manni-Bucau <rm...@gmail.com>.
+1
Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau
2014-05-11 23:22 GMT+02:00 Eric Covener <co...@gmail.com>:
> On Sun, May 11, 2014 at 4:55 PM, Mark Struberg <st...@yahoo.de> wrote:
>> The current impl of isBDABeansXmlScanningEnabled() is pretty much disfunctional.
>> This has to do that the BDA specification in CDI-1.1 is not as clear as it should be.
>
> +1. IMO even if 1.1 is still unclear, it stil seems to have distanced
> itself from isBDABeansXmlScanningEnabled() style BDA relative to 1.0.
Re: BDA scanning via isBDABeansXmlScanningEnabled
Posted by Eric Covener <co...@gmail.com>.
On Sun, May 11, 2014 at 4:55 PM, Mark Struberg <st...@yahoo.de> wrote:
> The current impl of isBDABeansXmlScanningEnabled() is pretty much disfunctional.
> This has to do that the BDA specification in CDI-1.1 is not as clear as it should be.
+1. IMO even if 1.1 is still unclear, it stil seems to have distanced
itself from isBDABeansXmlScanningEnabled() style BDA relative to 1.0.