com.jfw.status.struts
Class LogViewerDispatcherAction

java.lang.Object
  extended by org.apache.struts.action.Action
      extended by com.jfw.web.struts.JFWAction
          extended by com.jfw.status.struts.AdministrationAction
              extended by com.jfw.status.struts.LogViewerDispatcherAction
All Implemented Interfaces:
JFWCommonAction, java.util.Observer

public final class LogViewerDispatcherAction
extends AdministrationAction

Show the log messages. If the action is called directly from the browser then the log messages are showed in th browser.
Use the class LogViewerObserver for send the log messages at the output stream. After 100Mbytes the output stream is closed and non more log messages can be send.


Field Summary
 
Fields inherited from class com.jfw.web.struts.JFWAction
className, LOCALE_KEY
 
Fields inherited from class org.apache.struts.action.Action
servlet
 
Fields inherited from interface com.jfw.web.JFWCommonAction
AUTH_MSG_KEY, AUTH_USER_NOT_IN_DB, ERROR_KEY, excludeParams, LOCALE_LANGUAGE_KEY, logger, OPERATION_RESULT_KEY, OPERATION_RESULT_KO_KEY, OPERATION_RESULT_OK_KEY, OPERATION_TYPE_ADD_KEY, OPERATION_TYPE_DELETE_KEY, OPERATION_TYPE_KEY, OPERATION_TYPE_UPDATE_KEY, OUTPUT_DATA_KEY, properties, REQUEST_KEY, RESPONSE_KEY, SERVICE_NAME_KEY, USER_DATA_IN_REQUEST_KEY, USER_PROFILE_IN_REQUEST_KEY
 
Constructor Summary
LogViewerDispatcherAction()
           
 
Method Summary
 org.apache.struts.action.ActionForward myStatusExecute(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.apache.struts.action.ActionMessages messages, java.util.HashMap outputData)
          Must be implement by subclasses.
 
Methods inherited from class com.jfw.status.struts.AdministrationAction
afterMyExecute, isAuthenticated, isAuthorized, myExecute
 
Methods inherited from class com.jfw.web.struts.JFWAction
beforeMyExecute, execute, getLocale, getLocaleLanguage, getUser, initLocale, isSimulateAuthentication, isSimulateAuthorization, myInit, security, setLocale, setLocale, setUserDataInOutputData, update
 
Methods inherited from class org.apache.struts.action.Action
addErrors, addMessages, execute, generateToken, getErrors, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogViewerDispatcherAction

public LogViewerDispatcherAction()
Method Detail

myStatusExecute

public org.apache.struts.action.ActionForward myStatusExecute(org.apache.struts.action.ActionMapping mapping,
                                                              org.apache.struts.action.ActionForm form,
                                                              javax.servlet.http.HttpServletRequest request,
                                                              javax.servlet.http.HttpServletResponse response,
                                                              org.apache.struts.action.ActionMessages messages,
                                                              java.util.HashMap outputData)
                                                       throws javax.servlet.ServletException
Description copied from class: AdministrationAction
Must be implement by subclasses.

Specified by:
myStatusExecute in class AdministrationAction
Throws:
javax.servlet.ServletException