You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by Romain Manni-Bucau <rm...@gmail.com> on 2018/05/17 17:08:46 UTC

defalut contexts service: singleton as thread local

Hi guys,

is it intended to not use a single singleton context
in org.apache.webbeans.corespi.se.DefaultContextsService and rely on a
threadlocal? sounds very wrong.

Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> |  Blog
<https://rmannibucau.metawerx.net/> | Old Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book
<https://www.packtpub.com/application-development/java-ee-8-high-performance>

Re: defalut contexts service: singleton as thread local

Posted by Romain Manni-Bucau <rm...@gmail.com>.
Since I didn't get much feedback on that I'll add a standalone
contextsservice to not change the default one but happy to rework it later
to merge both once we got reviews.

Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> |  Blog
<https://rmannibucau.metawerx.net/> | Old Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book
<https://www.packtpub.com/application-development/java-ee-8-high-performance>


Le jeu. 17 mai 2018 à 19:08, Romain Manni-Bucau <rm...@gmail.com> a
écrit :

> Hi guys,
>
> is it intended to not use a single singleton context
> in org.apache.webbeans.corespi.se.DefaultContextsService and rely on a
> threadlocal? sounds very wrong.
>
> Romain Manni-Bucau
> @rmannibucau <https://twitter.com/rmannibucau> |  Blog
> <https://rmannibucau.metawerx.net/> | Old Blog
> <http://rmannibucau.wordpress.com> | Github
> <https://github.com/rmannibucau> | LinkedIn
> <https://www.linkedin.com/in/rmannibucau> | Book
> <https://www.packtpub.com/application-development/java-ee-8-high-performance>
>