Because, specs says "current thread context", as we discussed on irc
________________________________ From: Mark Struberg <[email protected]> To: [email protected] Sent: Wed, August 11, 2010 11:46:48 PM Subject: DefaultContextsService question 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
