[xwiki-devs] [VOTE] Using ThreadLocal vs passing the Context around for all method calls?
Jean-Vincent Drean
jv at xwiki.com
Wed Apr 16 14:47:30 CEST 2008
+1 for 2)
On Wed, Apr 16, 2008 at 1:51 PM, Sergiu Dumitriu <sergiu at xwiki.com> wrote:
>
> The biggest problem seems to be what to do with background tasks. Well,
> the problem would be that the context is not up-to-date, and some
> context objects are missing, but that is also true if we pass the
> XWikiContext around.
Yes, a good example of this is the scheduler which keeps the outdated
and incomplete context he got at startup.
--
Jean-Vincent Drean
More information about the devs
mailing list