com.tonbeller.wcf.controller
Class RequestContextFactoryFinder

java.lang.Object
  extended bycom.tonbeller.wcf.controller.RequestContextFactoryFinder

public class RequestContextFactoryFinder
extends java.lang.Object

finds the RequestContextFactory

Author:
av

Constructor Summary
RequestContextFactoryFinder()
           
 
Method Summary
static RequestContext createContext(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, boolean threadLocal)
           
static RequestContextFactory findFactory(javax.servlet.http.HttpSession session)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RequestContextFactoryFinder

public RequestContextFactoryFinder()
Method Detail

findFactory

public static RequestContextFactory findFactory(javax.servlet.http.HttpSession session)

createContext

public static RequestContext createContext(javax.servlet.http.HttpServletRequest request,
                                           javax.servlet.http.HttpServletResponse response,
                                           boolean threadLocal)
Parameters:
request -
response -
threadLocal - if true, a thread local RequestContext variable is initialized. The thread local may be accessed via RequestContext.instance() and must be cleaned up by the caller via RequestContext.invalidate().
See Also:
RequestContext.instance(), RequestContext.invalidate()