Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-4147

Add an automatic stub provider and initializer for XWikiContext

    XMLWordPrintable

Details

    • New Feature
    • Resolution: Fixed
    • Major
    • 2.0 M3
    • 1.9.2, 2.0 M2
    • {Unused} Core
    • None
    • Unknown

    Description

      The goal is to make sure the ExecutionContext automatically contains a usable XWikiContext even for deamon thread. When ExecutionContextInitializer is called the first time for a request, the valid XWikiContext is used to create a stub XWikiContext and then each ExecutionContextInitializer called from daemon thread with no XWikiContext already in the ExecutionContext a clone of the stub XWikiContext is injected in it.

      Attachments

        Activity

          People

            tmortagne Thomas Mortagne
            tmortagne Thomas Mortagne
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: