13 May
2014
13 May
'14
3:53 p.m.
The ExecutionContext returned by execution.getContext(); comes from a ThreadLocal which means it's not a singleton associated to the main wiki but a new ExecutionContext generated for each http request. By the way you should really use Provider<XWikiContext> component instead.