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. _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users