|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@Role public interface XWikiStubContextProvider
Tool to make easier to generate stub XWikiContext. It's supposed to be initialized once with the first request and it can be called to get a stub context generated from this initial XWikiContext.
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.
Method Summary | |
---|---|
XWikiContext |
createStubContext()
|
void |
initialize(XWikiContext context)
Initialize a stub context from a real context. |
Method Detail |
---|
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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |