net.java.dev.moskito.web
Class MoskitoAction
java.lang.Object
org.apache.struts.action.Action
net.java.dev.moskito.web.MoskitoAction
- All Implemented Interfaces:
- IStatsProducer
public abstract class MoskitoAction
- extends Action
- implements IStatsProducer
A base action for monitorable actions.
- Author:
- lrosenberg
| Fields inherited from class org.apache.struts.action.Action |
ACTION_SERVLET_KEY, APPLICATION_KEY, DATA_SOURCE_KEY, defaultLocale, ERROR_KEY, EXCEPTION_KEY, FORM_BEANS_KEY, FORWARDS_KEY, LOCALE_KEY, MAPPING_KEY, MAPPINGS_KEY, MESSAGE_KEY, MESSAGES_KEY, MULTIPART_KEY, PLUG_INS_KEY, REQUEST_PROCESSOR_KEY, servlet, SERVLET_KEY, TRANSACTION_TOKEN_KEY |
|
Method Summary |
ActionForward |
execute(ActionMapping mapping,
ActionForm bean,
HttpServletRequest req,
HttpServletResponse res)
|
String |
getCategory()
|
protected Interval[] |
getMonitoringIntervals()
|
String |
getProducerId()
|
List<IStats> |
getStats()
|
String |
getSubsystem()
|
abstract ActionForward |
moskitoExecute(ActionMapping mapping,
ActionForm af,
HttpServletRequest req,
HttpServletResponse res)
|
protected void |
postProcessExecute(ActionMapping mapping,
ActionForm af,
HttpServletRequest req,
HttpServletResponse res)
|
protected void |
preProcessExecute(ActionMapping mapping,
ActionForm af,
HttpServletRequest req,
HttpServletResponse res)
|
| Methods inherited from class org.apache.struts.action.Action |
execute, generateToken, getDataSource, getDataSource, getLocale, getResources, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, perform, perform, resetToken, saveErrors, saveMessages, saveToken, setLocale, setServlet, toHex |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
stats
private volatile ActionStats stats
statsList
private List<IStats> statsList
MoskitoAction
protected MoskitoAction()
execute
public final ActionForward execute(ActionMapping mapping,
ActionForm bean,
HttpServletRequest req,
HttpServletResponse res)
throws Exception
- Overrides:
execute in class Action
- Throws:
Exception- See Also:
Action.execute(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse)
preProcessExecute
protected void preProcessExecute(ActionMapping mapping,
ActionForm af,
HttpServletRequest req,
HttpServletResponse res)
throws Exception
- Throws:
Exception
postProcessExecute
protected void postProcessExecute(ActionMapping mapping,
ActionForm af,
HttpServletRequest req,
HttpServletResponse res)
throws Exception
- Throws:
Exception
moskitoExecute
public abstract ActionForward moskitoExecute(ActionMapping mapping,
ActionForm af,
HttpServletRequest req,
HttpServletResponse res)
throws Exception
- Throws:
Exception
getMonitoringIntervals
protected Interval[] getMonitoringIntervals()
getCategory
public String getCategory()
- Specified by:
getCategory in interface IStatsProducer
getSubsystem
public String getSubsystem()
- Specified by:
getSubsystem in interface IStatsProducer
getProducerId
public String getProducerId()
- Specified by:
getProducerId in interface IStatsProducer
getStats
public List<IStats> getStats()
- Specified by:
getStats in interface IStatsProducer
Copyright © 2006 MoSKito Project Team. All Rights Reserved.
MoSKito, the open source java monitoring framework