Skip navigation links


com.essbase.eas.essbase.server.LogAnalyzer
Class LogAnalyzerCommandListener

java.lang.Object
  extended by com.essbase.eas.framework.server.application.DefaultApplicationPart
      extended by com.essbase.eas.framework.server.application.AbstractCommandListener
          extended by com.essbase.eas.server.AppManCommandListener
              extended by com.essbase.eas.essbase.server.EssbaseCommandListener
                  extended by com.essbase.eas.essbase.server.LogAnalyzer.LogAnalyzerCommandListener

All Implemented Interfaces:
ApplicationPart, CommandListener

public class LogAnalyzerCommandListener
extends EssbaseCommandListener

Title: Log Analyzer Project for Tomcat Description: Copyright: Copyright (c) 2003 Company: Hyperion Solutions, Inc.

Version:
1.0
Author:
Sree Menon

Field Summary
static CommandDescriptor DELETE_APP_LOG_INFO
           
static CommandDescriptor DELETE_LOG_INFO
           
static CommandDescriptor DELETE_SERVER_LOG_INFO
           
static CommandDescriptor GENERATE_BACKGROUND_LOG
           
static CommandDescriptor GENERATE_LOG_INFO
           
static CommandDescriptor GET_APP_NAMES
           
static CommandDescriptor GET_CHART_DATA
           
static CommandDescriptor GET_DB_NAMES
           
static CommandDescriptor GET_FILTERS
           
static CommandDescriptor GET_LOG_ANAL_FILE
           
static CommandDescriptor GET_LOG_INFO
           
static CommandDescriptor GET_LOG_STATUS
           
static CommandDescriptor GET_MSG_NUMS
           
static CommandDescriptor GET_USER_NAMES
           
static CommandDescriptor SAVE_FILTERS
           

 

Fields inherited from class com.essbase.eas.essbase.server.EssbaseCommandListener
DEADEND, DEADEND_KEY, FAILED, FAILED_KEY, NOT_CONNECTED, NOT_CONNECTED_KEY, NOT_CONNECTING, NOT_CONNECTING_KEY, RELOGIN, RELOGIN_KEY, requestMap, TOKEN_TIMEOUT1_KEY, TOKEN_TIMEOUT2_KEY

 

Fields inherited from class com.essbase.eas.framework.server.application.AbstractCommandListener
aliasMap, methodMap, RESULT, THERESULT, UPLOAD

 

Fields inherited from class com.essbase.eas.framework.server.application.DefaultApplicationPart
CHAIN_SEPARATOR, manager, parts, serviceContext, serviceManager, state, STATE_BEFORE_WORKERS_ASSIGNED, STATE_CONSTRUCTED, STATE_DESTROYED, STATE_INITIALIZED, STATE_MANAGED, STATE_NULL, STATE_WORKERS_ASSIGNED, STATE_WORKERS_INITIALIZED, storeService

 

Constructor Summary
LogAnalyzerCommandListener()
           

 

Method Summary
 boolean deleteAppLogInfo(CommandEvent theEvent, ServiceContext theContext, java.lang.String server, java.lang.String app)
           
 boolean deleteLogInfo(CommandEvent theEvent, ServiceContext theContext, java.lang.String logId)
           
 boolean deleteServerLogInfo(CommandEvent theEvent, ServiceContext theContext, java.lang.String server)
           
 boolean generateBackgroundLog(CommandEvent theEvent, ServiceContext theContext, java.lang.String serverName, java.lang.String appname)
           
 boolean generateLog(CommandEvent theEvent, ServiceContext theContext, java.lang.String serverName, java.lang.String appname)
           
 boolean getApplicationNames(CommandEvent theEvent, ServiceContext theContext, java.lang.String logId, java.lang.String xml)
           
 boolean getChartData(CommandEvent theEvent, ServiceContext theContext, java.lang.String logId, java.lang.String filter)
           
 CommandDescriptor[] getCommands()
          Implementation of the CommandListener.getCommands() method.
 boolean getDatabaseNames(CommandEvent theEvent, ServiceContext theContext, java.lang.String logId, java.lang.String appname)
           
 boolean getFilters(CommandEvent theEvent, ServiceContext theContext, java.lang.String logId)
           
 boolean getLogAnalyzerFile(CommandEvent theEvent, ServiceContext theContext, java.lang.String logId, java.lang.String filter)
           
 boolean getLogInfo(CommandEvent theEvent, ServiceContext theContext, java.lang.String serverName, java.lang.String appname)
           
 boolean getLogStatus(CommandEvent theEvent, ServiceContext theContext, java.lang.String serverName, java.lang.String appname)
           
 boolean getMessageNumbers(CommandEvent theEvent, ServiceContext theContext, java.lang.String logId, java.lang.String xml)
           
 boolean getUserNames(CommandEvent theEvent, ServiceContext theContext, java.lang.String logId, java.lang.String xml)
           
 boolean saveFilters(CommandEvent theEvent, ServiceContext theContext, java.lang.String logId, java.lang.String xml)
           

 

Methods inherited from class com.essbase.eas.essbase.server.EssbaseCommandListener
getEssbaseSession, handleEventException, handleEventPost, handleEventPrep, set, setResult, validateSession

 

Methods inherited from class com.essbase.eas.server.AppManCommandListener
getSession, getSession, getSession, releaseSession

 

Methods inherited from class com.essbase.eas.framework.server.application.AbstractCommandListener
addMethodAlias, addMethodAlias, assignWorkers, buildMethodMap, convertStringValueToArgument, getArgumentsForCommand, getMethod, getMethodForAlias, getRoles, getSessionObject, handleEvent, init, isRequestFromSameServer, removeSessionObject, setServiceResult, setSessionObject

 

Methods inherited from class com.essbase.eas.framework.server.application.DefaultApplicationPart
destroy, getManager, getManagerChain, getServiceContext, getServiceManager, getStoreService, initWorkers, requestPart, requestPartPool, setManager

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Methods inherited from interface com.essbase.eas.framework.server.defs.ApplicationPart
destroy, getManager, getServiceContext, getServiceManager, getStoreService, initWorkers, setManager

 

Field Detail

GET_LOG_INFO

public static final CommandDescriptor GET_LOG_INFO

GENERATE_LOG_INFO

public static final CommandDescriptor GENERATE_LOG_INFO

GENERATE_BACKGROUND_LOG

public static final CommandDescriptor GENERATE_BACKGROUND_LOG

GET_LOG_ANAL_FILE

public static final CommandDescriptor GET_LOG_ANAL_FILE

GET_USER_NAMES

public static final CommandDescriptor GET_USER_NAMES

GET_DB_NAMES

public static final CommandDescriptor GET_DB_NAMES

GET_APP_NAMES

public static final CommandDescriptor GET_APP_NAMES

GET_MSG_NUMS

public static final CommandDescriptor GET_MSG_NUMS

DELETE_LOG_INFO

public static final CommandDescriptor DELETE_LOG_INFO

GET_CHART_DATA

public static final CommandDescriptor GET_CHART_DATA

GET_FILTERS

public static final CommandDescriptor GET_FILTERS

SAVE_FILTERS

public static final CommandDescriptor SAVE_FILTERS

DELETE_SERVER_LOG_INFO

public static final CommandDescriptor DELETE_SERVER_LOG_INFO

DELETE_APP_LOG_INFO

public static final CommandDescriptor DELETE_APP_LOG_INFO

GET_LOG_STATUS

public static final CommandDescriptor GET_LOG_STATUS

Constructor Detail

LogAnalyzerCommandListener

public LogAnalyzerCommandListener()

Method Detail

generateLog

public boolean generateLog(CommandEvent theEvent,
                           ServiceContext theContext,
                           java.lang.String serverName,
                           java.lang.String appname)
                    throws java.lang.Exception
Throws:
java.lang.Exception

getLogStatus

public boolean getLogStatus(CommandEvent theEvent,
                            ServiceContext theContext,
                            java.lang.String serverName,
                            java.lang.String appname)
                     throws java.lang.Exception
Throws:
java.lang.Exception

generateBackgroundLog

public boolean generateBackgroundLog(CommandEvent theEvent,
                                     ServiceContext theContext,
                                     java.lang.String serverName,
                                     java.lang.String appname)
                              throws java.lang.Exception
Throws:
java.lang.Exception

getLogInfo

public boolean getLogInfo(CommandEvent theEvent,
                          ServiceContext theContext,
                          java.lang.String serverName,
                          java.lang.String appname)
                   throws java.lang.Exception
Throws:
java.lang.Exception

getLogAnalyzerFile

public boolean getLogAnalyzerFile(CommandEvent theEvent,
                                  ServiceContext theContext,
                                  java.lang.String logId,
                                  java.lang.String filter)
                           throws java.lang.Exception
Throws:
java.lang.Exception

getUserNames

public boolean getUserNames(CommandEvent theEvent,
                            ServiceContext theContext,
                            java.lang.String logId,
                            java.lang.String xml)
                     throws java.lang.Exception
Throws:
java.lang.Exception

getApplicationNames

public boolean getApplicationNames(CommandEvent theEvent,
                                   ServiceContext theContext,
                                   java.lang.String logId,
                                   java.lang.String xml)
                            throws java.lang.Exception
Throws:
java.lang.Exception

getDatabaseNames

public boolean getDatabaseNames(CommandEvent theEvent,
                                ServiceContext theContext,
                                java.lang.String logId,
                                java.lang.String appname)
                         throws java.lang.Exception
Throws:
java.lang.Exception

getChartData

public boolean getChartData(CommandEvent theEvent,
                            ServiceContext theContext,
                            java.lang.String logId,
                            java.lang.String filter)
                     throws java.lang.Exception
Throws:
java.lang.Exception

getMessageNumbers

public boolean getMessageNumbers(CommandEvent theEvent,
                                 ServiceContext theContext,
                                 java.lang.String logId,
                                 java.lang.String xml)
                          throws java.lang.Exception
Throws:
java.lang.Exception

deleteLogInfo

public boolean deleteLogInfo(CommandEvent theEvent,
                             ServiceContext theContext,
                             java.lang.String logId)
                      throws java.lang.Exception
Throws:
java.lang.Exception

deleteServerLogInfo

public boolean deleteServerLogInfo(CommandEvent theEvent,
                                   ServiceContext theContext,
                                   java.lang.String server)
                            throws java.lang.Exception
Throws:
java.lang.Exception

deleteAppLogInfo

public boolean deleteAppLogInfo(CommandEvent theEvent,
                                ServiceContext theContext,
                                java.lang.String server,
                                java.lang.String app)
                         throws java.lang.Exception
Throws:
java.lang.Exception

getFilters

public boolean getFilters(CommandEvent theEvent,
                          ServiceContext theContext,
                          java.lang.String logId)
                   throws java.lang.Exception
Throws:
java.lang.Exception

saveFilters

public boolean saveFilters(CommandEvent theEvent,
                           ServiceContext theContext,
                           java.lang.String logId,
                           java.lang.String xml)
                    throws java.lang.Exception
Throws:
java.lang.Exception

getCommands

public CommandDescriptor[] getCommands()
Description copied from class: AbstractCommandListener
Implementation of the CommandListener.getCommands() method. This is an empty implementation and should be overridden by any derived classes that use the new introspection method of discovering commands.
Specified by:
getCommands in interface CommandListener
Overrides:
getCommands in class AbstractCommandListener
Returns:
a zero-length array of CommandDescriptor objects.

Skip navigation links


Copyright © 2001, 2012, Oracle. All rights reserved.