@Role public interface XWikiStubContextProvider
The reason to initialize it based on first request is to get some informations we could not know otherwise like a default scheme/host/port.
|Modifier and Type||Method and Description|
Initialize a stub context from a real context.
void initialize(XWikiContext context)
We create initial stub context from a real XWikiContext to have a stub as complete as possible. Like getting the proper host/port/scheme, the engine context etc.
context- a real XWikiContext
Copyright © 2004–2021 XWiki. All rights reserved.