jbpm-form-modeler-request-dispatcher 6.0.0-SNAPSHOT

org.jbpm.formModeler.service.bb.mvc.controller.requestChain
Class SessionInitializer

java.lang.Object
  extended by org.jbpm.formModeler.service.bb.mvc.controller.requestChain.SessionInitializer
All Implemented Interfaces:
RequestChainProcessor

public class SessionInitializer
extends Object
implements RequestChainProcessor

Takes care of initializing new sessions.


Constructor Summary
SessionInitializer()
           
 
Method Summary
protected  void handleExpiration(javax.servlet.http.HttpServletRequest httpReq)
          Handles expiration of session
protected  void initSession(javax.servlet.http.HttpServletRequest httpReq)
          Called when a new session is created.
 boolean processRequest(CommandRequest request)
          Make required processing of request.
protected  boolean verifySession(javax.servlet.http.HttpSession session)
          Check that current session has all the required parameters, and issue warnings if not.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SessionInitializer

public SessionInitializer()
Method Detail

processRequest

public boolean processRequest(CommandRequest request)
                       throws Exception
Description copied from interface: RequestChainProcessor
Make required processing of request.

Specified by:
processRequest in interface RequestChainProcessor
Returns:
true if processing must continue, false otherwise.
Throws:
Exception

initSession

protected void initSession(javax.servlet.http.HttpServletRequest httpReq)
Called when a new session is created.


verifySession

protected boolean verifySession(javax.servlet.http.HttpSession session)
Check that current session has all the required parameters, and issue warnings if not.


handleExpiration

protected void handleExpiration(javax.servlet.http.HttpServletRequest httpReq)
Handles expiration of session


jbpm-form-modeler-request-dispatcher 6.0.0-SNAPSHOT

Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.