org.jwarp.service.web.init
Interface ISessionInit
- All Superinterfaces:
- IConfigurable
- All Known Implementing Classes:
- SessionInit
- public interface ISessionInit
- extends IConfigurable
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
|
Method Summary |
void |
initSession(WebContext context)
This function is called when a user the first time enters the aplpication. |
initSession
public void initSession(WebContext context)
throws InitializationException
- This function is called when a user the first time enters the aplpication. The method
looks up if a session object is existing. If not one will be creted. This method can be
overridden to provide more sophisticated session initialisation.
- Parameters:
The - web requestThe - web response- Returns:
- False if the initialisation failed.