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
 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.


Copyright © 2004–2014 XWiki. All rights reserved.