Class DiagnosticsBeanEventHandler
- java.lang.Object
-
- com.microstrategy.web.beans.GenericEventHandler
-
- com.microstrategy.web.beans.SysEventHandler
-
- com.microstrategy.web.admin.beans.DiagnosticsBeanEventHandler
-
- All Implemented Interfaces:
EnumDiagnosticsBeanEvents
,WebEventHandler
,WebEventTags
,java.lang.Cloneable
public class DiagnosticsBeanEventHandler extends SysEventHandler implements EnumDiagnosticsBeanEvents
Title: DiagnosticsBeanEventHandler. Default event handler for the
DiagnosticsBean
. This class takes care of processing the events related and/or triggered by theDiagnosticsBean
- Since:
- MicroStrategy Web 7.3.1 or earlier
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.microstrategy.web.beans.GenericEventHandler
GenericEventHandler.GenericEventKeys
-
-
Field Summary
-
Fields inherited from class com.microstrategy.web.beans.SysEventHandler
DEFAULT_CONFIG_PATH
-
Fields inherited from class com.microstrategy.web.beans.GenericEventHandler
_extraEvents, layerOfHandleRequest, MULTIPLE_EVENT_SOURCE_SUFFIX, NO_EVENT_ID
-
Fields inherited from interface com.microstrategy.web.admin.beans.EnumDiagnosticsBeanEvents
WebEventArgumentDiagnosticsAdvancedLogger, WebEventArgumentDiagnosticsAdvancedLoggerLevel, WebEventArgumentDiagnosticsAdvancedLoggerPackage, WebEventArgumentDiagnosticsAdvancedLoggerPattern, WebEventArgumentDiagnosticsAdvancedLoggerUser, WebEventArgumentDiagnosticsAdvancedLoggerXMLAPIUser, WebEventArgumentDiagnosticsCount, WebEventArgumentDiagnosticsDisplay, WebEventArgumentDiagnosticsFlashProfiler, WebEventArgumentDiagnosticsFromDay, WebEventArgumentDiagnosticsFromMonth, WebEventArgumentDiagnosticsFromYear, WebEventArgumentDiagnosticsLevel, WebEventArgumentDiagnosticsLimit, WebEventArgumentDiagnosticsLogFile, WebEventArgumentDiagnosticsPageNumber, WebEventArgumentDiagnosticsSetupFile, WebEventArgumentDiagnosticsSortOrder, WebEventArgumentDiagnosticsStatisticsFile, WebEventArgumentDiagnosticsStatisticsMode, WebEventArgumentDiagnosticsToDay, WebEventArgumentDiagnosticsToMonth, WebEventArgumentDiagnosticsToYear, WebEventArgumentDiagnosticsType, WebEventDiagnosticsNavigate, WebEventDiagnosticsSave, WebEventDiagnosticsShow, WebEventDiagnosticsSort, WebEventLoadDefaults
-
Fields inherited from interface com.microstrategy.web.beans.WebEventTags
ATT_ARGUMENT_ENUMERATOR, ATT_ARGUMENT_ID, ATT_ARGUMENT_INDEX, ATT_ARGUMENT_NAME, ATT_ARGUMENT_REQUIRED, ATT_ARGUMENT_TYPE, ATT_ARGUMENT_VALIDATOR, ATT_ARGUMENT_VALUE, ATT_EVENT_DEPRECATED, ATT_EVENT_ENUMERATOR, ATT_EVENT_HANDLER_ENUMERATOR, ATT_EVENT_HANDLER_NAME, ATT_EVENT_HANDLER_TYPE, ATT_EVENT_ID, ATT_EVENT_NAME, ATT_EVENT_TARGET, TAG_ARGUMENT, TAG_ARGUMENTS, TAG_EVENT, TAG_EVENT_HANDLER, TAG_EVENT_HANDLERS, TAG_EVENTS
-
-
Constructor Summary
Constructors Constructor Description DiagnosticsBeanEventHandler()
Class Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Class
getSupportedWebComponentType()
Returns theWebComponent
class handled by this transform.WebComponent
getWebComponent()
Get the corresponding web component (should be ofDiagnosticsBean
type) for this event handlerboolean
handleRequest(RequestKeys keys)
Handle request specified by the RequestKeysvoid
setWebComponent(WebComponent component)
Set the corresponding web component (should be ofDiagnosticsBean
type) for this event handler-
Methods inherited from class com.microstrategy.web.beans.SysEventHandler
getCatalog, getWebEvent, getWebEvents, initEvents, initEvents, newDefaultEventInstance, newWebEvent
-
Methods inherited from class com.microstrategy.web.beans.GenericEventHandler
addEvent, addEvent, addEvents, addEventsFromRequestKeys, addEventsFromXML, appendRemainingEvent, clone, delegateRequest, getEventID, getEventTarget, getHandlerType, getName, getNextSourceName, getNextSourceName, getOrderedEvents, getPendingEvents, getWebEvent, getWebEvent, getWebEventsFromRequest, isInitialized, isMyEvent, markInitailized, processExtraEvents, processMultipleEvents, processMultipleEvents, processRequest, setHandlerType, setName, validateRequiredArgument
-
-
-
-
Method Detail
-
setWebComponent
public void setWebComponent(WebComponent component)
Set the corresponding web component (should be ofDiagnosticsBean
type) for this event handler- Specified by:
setWebComponent
in interfaceWebEventHandler
- Overrides:
setWebComponent
in classGenericEventHandler
- Parameters:
component
- the input web component
-
getWebComponent
public WebComponent getWebComponent()
Get the corresponding web component (should be ofDiagnosticsBean
type) for this event handler- Specified by:
getWebComponent
in interfaceWebEventHandler
- Overrides:
getWebComponent
in classGenericEventHandler
- Returns:
- the corresponding web component for this event handler
-
handleRequest
public boolean handleRequest(RequestKeys keys) throws WebException
Handle request specified by the RequestKeys- Specified by:
handleRequest
in interfaceWebEventHandler
- Overrides:
handleRequest
in classGenericEventHandler
- Parameters:
keys
-RequestKeys
instance with the input request information- Returns:
- true means some event is handled, false means nothing is handled
- Throws:
WebException
- if an error happened while processing the request
-
getSupportedWebComponentType
public java.lang.Class getSupportedWebComponentType()
Returns theWebComponent
class handled by this transform. For this instance, it will beDiagnosticsBean
- Specified by:
getSupportedWebComponentType
in interfaceWebEventHandler
- Overrides:
getSupportedWebComponentType
in classGenericEventHandler
- Returns:
- the
Class
of theWebComponent
this event handler is associated with. - See Also:
WebEventHandler.getSupportedWebComponentType()
-
-