@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 |
---|---|
XWikiContext |
createStubContext() |
void |
initialize(XWikiContext context)
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 XWikiContextXWikiContext createStubContext()
Copyright © 2004–2022 XWiki. All rights reserved.