Makes sense to me.  Seems it should be shared across the whole app and
not ThreadLocal.

Sincerely,

Joe

On Wed, Aug 11, 2010 at 4:46 PM, Mark Struberg <[email protected]> wrote:
> Hoi!
>
> Why is it needed to hold the ApplicationContext in a ThreadLocal?
>
>    private static ThreadLocal<ApplicationContext> applicationContext = null;
>
> Each BeanManager gets an own ContextService instance anyway, so a simple 
> private
> member would easily work!
>
> Any thoughts?
>
> LieGrue,
> strub
>
>
>
>

Reply via email to