Container Module

The Container Module complements the Environment Module and provides an abstraction of a Container: request, response or session. The purpose is to allow using XWiki libraries that require a Container to be executed transparently in environments such as a Servlet or a Portlet environment.

The source code is available on GitHub.


To access the Container interface, use the below code:

private Container container;

The Container initialization is handled by the XWiki instance environment. For a Servlet Container, the initialization is done by the org.xwiki.container.servlet.XWikiServletContextListener which is registered in the /xwiki/WEB-INF/web.xml file:


Related Pages

Search this space


Most popular tags

Failed to execute the [groovy] macro
  1. access rights
  2. activity stream
  3. annotation
  4. attachment
  5. comment
  6. Document Tree Macro
  7. export
  8. Extension Manager
  9. Flamingo skin
  10. global user
  11. Groovy event listener
  12. group
  13. nested page
  14. search
  15. skin
  16. syntax
  17. user
  18. user profile
  19. velocity macros
  20. wiki
  21. wysiwyg
  22. XWiki Applications
  23. xwikiattachment_archive table
  24. xwikiattachment table
  25. xwikiattrecyclebin table
  26. xwikiproperties table

[Display all tags from this space]