org.jwarp.service.web.init
Class RequestInit

java.lang.Object
  |
  +--org.jwarp.service.web.init.RequestInit
All Implemented Interfaces:
IConfigurable, IRequestInit

public class RequestInit
extends java.lang.Object
implements IRequestInit

Class which incorporates the initialisation of a new session. By default only a new session is created,
but this can be changed by subclassing this class an changing the main servlets factorymethod

Version:
1.01
Author:
A. Tresch, Martin Schaefer
See Also:
org.jwarp.JavaWeb.app.AAppControler, org.jwarp.JavaWeb.app.AAppControler#getSessionInitInstance

Constructor Summary
RequestInit()
          Creates a new session init instance.
 
Method Summary
 void configure(org.jdom.Element config)
          Configure the session init with the corresponding XML partial tree.
 void initRequest(WebContext context)
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RequestInit

public RequestInit()
Creates a new session init instance.
Method Detail

configure

public void configure(org.jdom.Element config)
               throws ConfigurationException
Configure the session init with the corresponding XML partial tree.
Specified by:
configure in interface IConfigurable
Parameters:
config - The XML tree

initRequest

public void initRequest(WebContext context)
                 throws InitializationException
Specified by:
initRequest in interface IRequestInit
Following copied from interface: org.jwarp.service.web.init.IRequestInit
Parameters:
req - The web request
res - The http response
Returns:
false if the request is handled finally.

©   O R C A   S y s t e m s