net.java.dev.moskito.webui.action
Class BaseShowProducersAction

java.lang.Object
  extended by org.apache.struts.action.Action
      extended by net.java.dev.moskito.web.MoskitoAction
          extended by net.java.dev.moskito.webui.action.BaseMoskitoUIAction
              extended by net.java.dev.moskito.webui.action.BaseShowProducersAction
All Implemented Interfaces:
IStatsProducer
Direct Known Subclasses:
ShowAllProducersAction, ShowProducersForCategoryAction, ShowProducersForSubsystemAction

public abstract class BaseShowProducersAction
extends BaseMoskitoUIAction


Field Summary
private  net.anotheria.util.sorter.Sorter sorter
           
 
Fields inherited from class net.java.dev.moskito.webui.action.BaseMoskitoUIAction
BEAN_INTERVAL, BEAN_SORT_TYPE_PREFIX, BEAN_SORT_TYPE_SINGLE_PRODUCER_PREFIX, CAPTIONS, DEFAULT_FORWARD, DEFAULT_INTERVAL, LINKS, MENU_ITEM_ALL_PRODUCERS, MENU_ITEM_CATEGORIES, MENU_ITEM_SUBSYSTEMS, MENU_ITEM_USE_CASES, PARAM_FORWARD, PARAM_INTERVAL
 
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
 
Constructor Summary
BaseShowProducersAction()
           
 
Method Summary
protected  void doCustomProcessing(HttpServletRequest req, HttpServletResponse res)
           
abstract  String getPageTitle(HttpServletRequest req)
           
private  ProducerBeanSortType getProducerBeanSortType(ProducerDecoratorBean decoratorBean, HttpServletRequest req)
           
protected abstract  List<IStatsProducer> getProducers(HttpServletRequest req)
           
 ActionForward moskitoExecute(ActionMapping mapping, ActionForm af, HttpServletRequest req, HttpServletResponse res)
           
 
Methods inherited from class net.java.dev.moskito.webui.action.BaseMoskitoUIAction
getActiveMenuCaption, getAPI, getCurrentInterval, getDecoratorRegistry, getForward, getLinkToCurrentPage, getProducerId, getSubsystem, postProcessExecute, preProcessExecute
 
Methods inherited from class net.java.dev.moskito.web.MoskitoAction
execute, getCategory, getMonitoringIntervals, getStats
 
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
 

Field Detail

sorter

private net.anotheria.util.sorter.Sorter sorter
Constructor Detail

BaseShowProducersAction

public BaseShowProducersAction()
Method Detail

getProducers

protected abstract List<IStatsProducer> getProducers(HttpServletRequest req)

getPageTitle

public abstract String getPageTitle(HttpServletRequest req)

moskitoExecute

public ActionForward moskitoExecute(ActionMapping mapping,
                                    ActionForm af,
                                    HttpServletRequest req,
                                    HttpServletResponse res)
                             throws Exception
Specified by:
moskitoExecute in class MoskitoAction
Throws:
Exception

doCustomProcessing

protected void doCustomProcessing(HttpServletRequest req,
                                  HttpServletResponse res)

getProducerBeanSortType

private ProducerBeanSortType getProducerBeanSortType(ProducerDecoratorBean decoratorBean,
                                                     HttpServletRequest req)


Copyright © 2006 MoSKito Project Team. All Rights Reserved.
MoSKito, the open source java monitoring framework