Package org.xwiki.container
Interface RequestInitializer
-
@Role public interface RequestInitializer
Let any component that need to perform further initializations involving the Request do so. For example the Velocity component creates a brand new Velocity Context which it puts in the Request.- Version:
- $Id: 526166275b454494b1e126be8a2054da22519625 $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
initialize(Request request)
Perform initializations here, such as storing objects in the Request.
-
-
-
Method Detail
-
initialize
void initialize(Request request) throws RequestInitializerException
Perform initializations here, such as storing objects in the Request.- Parameters:
request
- the XWiki Request object- Throws:
RequestInitializerException
- if the initialization fails. It's expected that the application should stop if this happens.
-
-