ApplicationScopedBeanInterceptorHandler broken?

2014-10-12 Thread Romain Manni-Bucau
Hi guys, when using ApplicationScopedBeanInterceptorHandler we can't pass TCKs cause it cached instances so then is you use AlterableContext you keep the cached instance. By default we use just NormalScopedBeanInterceptorHandler and all works fine. To solve this issue we should keep tracking prox

Re: ApplicationScopedBeanInterceptorHandler broken?

2014-10-12 Thread Mark Struberg
Hi Romain! Yes for the TCK we should probably switch to the non-caching proxy (NormalScopedBeanInterceptorHandler). In real world applications I have never seen the need to delete ApplicationScoped services though. Every user can easily overwrite the proxy to use via it's own openwebbeans.pr

Re: ApplicationScopedBeanInterceptorHandler broken?

2014-10-12 Thread Romain Manni-Bucau
same here but saw it in tomee, was mainly to share it ;) Romain Manni-Bucau @rmannibucau http://www.tomitribe.com http://rmannibucau.wordpress.com https://github.com/rmannibucau 2014-10-12 19:17 GMT+02:00 Mark Struberg : > Hi Romain! > > Yes for the TCK we should probably switch to the non-cach