net.java.dev.moskito.webui.action
Class BaseMoskitoUIAction
java.lang.Object
org.apache.struts.action.Action
net.java.dev.moskito.web.MoskitoAction
net.java.dev.moskito.webui.action.BaseMoskitoUIAction
- All Implemented Interfaces:
- IStatsProducer
- Direct Known Subclasses:
- BaseShowProducersAction, CssAction, InspectProducerAction, ShowExplanationsAction, ShowProducerAction, ShowSummaryAction
public abstract class BaseMoskitoUIAction
- extends MoskitoAction
| 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 |
| 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 |
PARAM_FORWARD
public static final String PARAM_FORWARD
- See Also:
- Constant Field Values
DEFAULT_FORWARD
public static final String DEFAULT_FORWARD
- See Also:
- Constant Field Values
BEAN_INTERVAL
public static final String BEAN_INTERVAL
- See Also:
- Constant Field Values
PARAM_INTERVAL
public static final String PARAM_INTERVAL
- See Also:
- Constant Field Values
DEFAULT_INTERVAL
public static final String DEFAULT_INTERVAL
- See Also:
- Constant Field Values
BEAN_SORT_TYPE_PREFIX
public static final String BEAN_SORT_TYPE_PREFIX
- See Also:
- Constant Field Values
BEAN_SORT_TYPE_SINGLE_PRODUCER_PREFIX
public static final String BEAN_SORT_TYPE_SINGLE_PRODUCER_PREFIX
- See Also:
- Constant Field Values
api
private static IProducerRegistryAPI api
decoratorRegistry
private static IDecoratorRegistry decoratorRegistry
MENU_ITEM_ALL_PRODUCERS
public static final String MENU_ITEM_ALL_PRODUCERS
- See Also:
- Constant Field Values
MENU_ITEM_CATEGORIES
public static final String MENU_ITEM_CATEGORIES
- See Also:
- Constant Field Values
MENU_ITEM_SUBSYSTEMS
public static final String MENU_ITEM_SUBSYSTEMS
- See Also:
- Constant Field Values
MENU_ITEM_USE_CASES
public static final String MENU_ITEM_USE_CASES
- See Also:
- Constant Field Values
CAPTIONS
public static final String[] CAPTIONS
LINKS
public static final String[] LINKS
myProducerId
private String myProducerId
sorter
private net.anotheria.util.sorter.Sorter sorter
dummySortType
private net.anotheria.util.sorter.SortType dummySortType
BaseMoskitoUIAction
protected BaseMoskitoUIAction()
getAPI
protected IProducerRegistryAPI getAPI()
getSubsystem
public String getSubsystem()
- Specified by:
getSubsystem in interface IStatsProducer- Overrides:
getSubsystem in class MoskitoAction
getProducerId
public String getProducerId()
- Specified by:
getProducerId in interface IStatsProducer- Overrides:
getProducerId in class MoskitoAction
getForward
protected String getForward(HttpServletRequest req)
getCurrentInterval
protected String getCurrentInterval(HttpServletRequest req)
preProcessExecute
protected void preProcessExecute(ActionMapping mapping,
ActionForm af,
HttpServletRequest req,
HttpServletResponse res)
throws Exception
- Overrides:
preProcessExecute in class MoskitoAction
- Throws:
Exception
postProcessExecute
protected void postProcessExecute(ActionMapping mapping,
ActionForm af,
HttpServletRequest req,
HttpServletResponse res)
throws Exception
- Overrides:
postProcessExecute in class MoskitoAction
- Throws:
Exception
getLinkToCurrentPage
protected abstract String getLinkToCurrentPage(HttpServletRequest req)
getActiveMenuCaption
protected String getActiveMenuCaption(HttpServletRequest req)
getDecoratorRegistry
protected static IDecoratorRegistry getDecoratorRegistry()
maskAsXML
private String maskAsXML(String link)
maskAsCSV
private String maskAsCSV(String link)
maskAsExtension
private String maskAsExtension(String link,
String extension)
Copyright © 2006 MoSKito Project Team. All Rights Reserved.
MoSKito, the open source java monitoring framework