Skip navigation links


com.essbase.eas.server
Class AppManCommandListener

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

All Implemented Interfaces:
ApplicationPart, CommandListener
Direct Known Subclasses:
AdminCommandListener, AdminServerPropCommandListener, EDSCommandListener, EssbaseCommandListener, InteropCommandListener

public abstract class AppManCommandListener
extends AbstractCommandListener
Since:
6.5.1
Version:
7.0.0
Author:
Hyperion Solutions

Field Summary

 

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

 

Method Summary
protected  ISession getSession(CommandEvent theEvent)
           
protected  ISession getSession(CommandEvent theEvent, boolean wait)
           
protected  ISession getSession(java.lang.String sessionType, ServiceContext context, java.lang.String serverName)
           
 void handleEventException(CommandEvent command, java.lang.Throwable ex)
          implementation of the CommandListener.handleEventException() method.
 void handleEventPost(CommandEvent command, java.lang.Object results)
          implementation of the CommandListener.handleEventPost() method.
 boolean handleEventPrep(CommandEvent command)
          implementation of the CommandListener.handleEventPrep() method.
protected  void releaseSession(ISession session)
           

 

Methods inherited from class com.essbase.eas.framework.server.application.AbstractCommandListener
addMethodAlias, addMethodAlias, assignWorkers, buildMethodMap, convertStringValueToArgument, getArgumentsForCommand, getCommands, 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

 

Constructor Detail

AppManCommandListener

public AppManCommandListener()

Method Detail

handleEventPrep

public boolean handleEventPrep(CommandEvent command)
                        throws ApplicationException
Description copied from class: AbstractCommandListener
implementation of the CommandListener.handleEventPrep() method. Inheriting classes should override this method if they need to perform any special processing before the method invocation occurs.
Specified by:
handleEventPrep in interface CommandListener
Overrides:
handleEventPrep in class AbstractCommandListener
Parameters:
command - the command event that we are processing.
Returns:
true if Ok to continue, false otherwise
Throws:
ApplicationException

handleEventPost

public void handleEventPost(CommandEvent command,
                            java.lang.Object results)
Description copied from class: AbstractCommandListener
implementation of the CommandListener.handleEventPost() method. Inheriting classes should override this method if they need to perform some post invocation work on the results of the command.
Specified by:
handleEventPost in interface CommandListener
Overrides:
handleEventPost in class AbstractCommandListener
Parameters:
command - the command event that we are processing.

handleEventException

public void handleEventException(CommandEvent command,
                                 java.lang.Throwable ex)
                          throws ApplicationException
Description copied from class: AbstractCommandListener
implementation of the CommandListener.handleEventException() method. Inheriting classes should override this if they need to do something special when an exception is thrown during the method invocation.
Specified by:
handleEventException in interface CommandListener
Overrides:
handleEventException in class AbstractCommandListener
Throws:
ApplicationException

getSession

protected ISession getSession(CommandEvent theEvent)
                       throws MessageException
Throws:
MessageException

getSession

protected ISession getSession(CommandEvent theEvent,
                              boolean wait)
                       throws MessageException
Throws:
MessageException

getSession

protected ISession getSession(java.lang.String sessionType,
                              ServiceContext context,
                              java.lang.String serverName)
                       throws MessageException
Throws:
MessageException

releaseSession

protected void releaseSession(ISession session)

Skip navigation links


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