org.apache.empire.struts2.web
Class EmpireStrutsDispatcher

java.lang.Object
  extended by org.apache.struts2.dispatcher.Dispatcher
      extended by org.apache.empire.struts2.web.EmpireStrutsDispatcher

public class EmpireStrutsDispatcher
extends org.apache.struts2.dispatcher.Dispatcher


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.struts2.dispatcher.Dispatcher
org.apache.struts2.dispatcher.Dispatcher.Locator
 
Field Summary
 java.lang.String APPLICATION_CLASS
           
protected static org.apache.commons.logging.Log log
           
 java.lang.String REQUEST_CLASS
           
 java.lang.String SESSION_CLASS
           
 
Constructor Summary
EmpireStrutsDispatcher(javax.servlet.ServletContext servletContext, java.util.Map<java.lang.String,java.lang.String> initParams)
           
 
Method Summary
protected  void createApplicationObject(javax.servlet.ServletContext servletContext, java.lang.String appClassName)
           
protected  boolean createRequestObject(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.Object sessObj)
           
protected  void createSessionObject(javax.servlet.http.HttpServletRequest request, java.lang.Object applObj)
           
static java.lang.Object getCurrentRequest()
          Deprecated. use EmpireThreadManager.getCurrentRequest() instead.
 void serviceAction(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.ServletContext context, org.apache.struts2.dispatcher.mapper.ActionMapping mapping)
           
 
Methods inherited from class org.apache.struts2.dispatcher.Dispatcher
addDispatcherListener, cleanup, createContextMap, createContextMap, getConfigurationManager, getContainer, getInstance, init, prepare, removeDispatcherListener, sendError, setConfigurationManager, setDefaultEncoding, setDefaultLocale, setDevMode, setInstance, setMultipartHandler, setMultipartSaveDir, setValueStackFactory, wrapRequest
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static org.apache.commons.logging.Log log

APPLICATION_CLASS

public final java.lang.String APPLICATION_CLASS
See Also:
Constant Field Values

SESSION_CLASS

public final java.lang.String SESSION_CLASS
See Also:
Constant Field Values

REQUEST_CLASS

public final java.lang.String REQUEST_CLASS
See Also:
Constant Field Values
Constructor Detail

EmpireStrutsDispatcher

public EmpireStrutsDispatcher(javax.servlet.ServletContext servletContext,
                              java.util.Map<java.lang.String,java.lang.String> initParams)
Method Detail

getCurrentRequest

@Deprecated
public static java.lang.Object getCurrentRequest()
Deprecated. use EmpireThreadManager.getCurrentRequest() instead.


serviceAction

public void serviceAction(javax.servlet.http.HttpServletRequest request,
                          javax.servlet.http.HttpServletResponse response,
                          javax.servlet.ServletContext context,
                          org.apache.struts2.dispatcher.mapper.ActionMapping mapping)
                   throws javax.servlet.ServletException
Overrides:
serviceAction in class org.apache.struts2.dispatcher.Dispatcher
Throws:
javax.servlet.ServletException

createApplicationObject

protected void createApplicationObject(javax.servlet.ServletContext servletContext,
                                       java.lang.String appClassName)

createSessionObject

protected void createSessionObject(javax.servlet.http.HttpServletRequest request,
                                   java.lang.Object applObj)

createRequestObject

protected boolean createRequestObject(javax.servlet.http.HttpServletRequest request,
                                      javax.servlet.http.HttpServletResponse response,
                                      java.lang.Object sessObj)


Copyright © 2008-2010 Apache Software Foundation. All Rights Reserved.