Skip navigation links


com.essbase.eas.essbase.server
Class MaxLCommandListener

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.MaxLCommandListener

All Implemented Interfaces:
ApplicationPart, CommandListener

public class MaxLCommandListener
extends EssbaseCommandListener
Since:
6.2.0
Version:
6.5.4
Author:
Sree Menon

Nested Class Summary
 class MaxLCommandListener.MaxLCommandLogic
           

 

Field Summary
static CommandDescriptor EXEC_BGND_MAXL
           
static CommandDescriptor GET_DBRESULT
           
static CommandDescriptor GET_FILE
           
static CommandDescriptor GET_MAXLRESULT
           
static CommandDescriptor GET_SERVERMAXLRESULT
           
static CommandDescriptor KILL_SERVERREQUEST
           
static CommandDescriptor SET_KILL_REQUEST
           

 

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
MaxLCommandListener()
           

 

Method Summary
 boolean executeBackgroundMaxL(CommandEvent theEvent, ServiceContext theContext, java.lang.String serverName, java.lang.String title, java.lang.String cmd)
           
 CommandDescriptor[] getCommands()
          Implementation of the CommandListener.getCommands() method.
 boolean getDBResult(CommandEvent theEvent, ServiceContext theContext, java.lang.String cmd)
           
 void getErrorMessage(com.essbase.maxl.MaxlConnection session, java.util.ArrayList msgList)
           
 boolean getFile(CommandEvent theEvent, ServiceContext theContext, java.lang.String errorFilePath, java.lang.Boolean deleteFile)
           
 boolean getMaxLResult(CommandEvent theEvent, ServiceContext theContext, java.lang.String serverName, java.lang.String cmd, java.lang.String fileList)
           
 boolean getMaxLServerResult(CommandEvent theEvent, ServiceContext theContext, java.lang.String serverName, java.lang.String cmd, java.lang.String user, java.lang.String pwd, java.lang.String fileList)
           
 boolean killActiveServerRequest(CommandEvent theEvent, ServiceContext theContext, java.lang.String serverName)
           
 boolean setKillRequest(CommandEvent theEvent, ServiceContext theContext, java.lang.String serverName)
           

 

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_DBRESULT

public static final CommandDescriptor GET_DBRESULT

GET_MAXLRESULT

public static final CommandDescriptor GET_MAXLRESULT

GET_SERVERMAXLRESULT

public static final CommandDescriptor GET_SERVERMAXLRESULT

KILL_SERVERREQUEST

public static final CommandDescriptor KILL_SERVERREQUEST

EXEC_BGND_MAXL

public static final CommandDescriptor EXEC_BGND_MAXL

GET_FILE

public static final CommandDescriptor GET_FILE

SET_KILL_REQUEST

public static final CommandDescriptor SET_KILL_REQUEST

Constructor Detail

MaxLCommandListener

public MaxLCommandListener()

Method Detail

killActiveServerRequest

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

executeBackgroundMaxL

public boolean executeBackgroundMaxL(CommandEvent theEvent,
                                     ServiceContext theContext,
                                     java.lang.String serverName,
                                     java.lang.String title,
                                     java.lang.String cmd)
                              throws java.lang.Exception
Throws:
java.lang.Exception

getDBResult

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

getMaxLResult

public boolean getMaxLResult(CommandEvent theEvent,
                             ServiceContext theContext,
                             java.lang.String serverName,
                             java.lang.String cmd,
                             java.lang.String fileList)
                      throws java.lang.Exception
Throws:
java.lang.Exception

getMaxLServerResult

public boolean getMaxLServerResult(CommandEvent theEvent,
                                   ServiceContext theContext,
                                   java.lang.String serverName,
                                   java.lang.String cmd,
                                   java.lang.String user,
                                   java.lang.String pwd,
                                   java.lang.String fileList)

getFile

public boolean getFile(CommandEvent theEvent,
                       ServiceContext theContext,
                       java.lang.String errorFilePath,
                       java.lang.Boolean deleteFile)

getErrorMessage

public void getErrorMessage(com.essbase.maxl.MaxlConnection session,
                            java.util.ArrayList msgList)

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.

setKillRequest

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

Skip navigation links


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