Skip navigation links


com.essbase.eas.server
Class AdminServerPropCommandListener

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.server.AdminServerPropCommandListener

All Implemented Interfaces:
ApplicationPart, CommandListener

public class AdminServerPropCommandListener
extends AppManCommandListener
Since:
7.0.0
Version:
7.0.0
Author:
Jennifer Peng

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

 

Method Summary
 boolean exportDB(CommandEvent theEvent, ServiceContext theContext, java.lang.String fn)
           
 CommandDescriptor[] getCommands()
          Implementation of the CommandListener.getCommands() method.
 boolean getDaoProperties(CommandEvent theEvent, ServiceContext theContext)
          Return smtp server string
 boolean getHubLogLevel(CommandEvent theEvent, ServiceContext theContext)
           
 boolean getHubProvisionEnabled(CommandEvent theEvent, ServiceContext theContext)
           
 boolean getHubServerName(CommandEvent theEvent, ServiceContext theContext)
           
 boolean getHubServerPort(CommandEvent theEvent, ServiceContext theContext)
           
 boolean getHubUseSecure(CommandEvent theEvent, ServiceContext theContext)
           
 boolean getSecurityConfigFile(CommandEvent theEvent, ServiceContext theContext)
           
 boolean getServerProperties(CommandEvent theEvent, ServiceContext theContext)
          Return server properties
 boolean getSMTPServer(CommandEvent theEvent, ServiceContext theContext)
          Return smtp server string
 boolean importDB(CommandEvent theEvent, ServiceContext theContext, java.lang.String fn)
           
 boolean setDaoProperties(CommandEvent theEvent, ServiceContext theContext, java.lang.String db, java.lang.String jarArc, java.lang.String driver, java.lang.String url, java.lang.String user, java.lang.String conn, java.lang.String pswd)
          set Dao Properties
 boolean setHubLogLevel(CommandEvent theEvent, ServiceContext theContext, java.lang.String logLevel)
           
 boolean setHubProvisionEnabled(CommandEvent theEvent, ServiceContext theContext, java.lang.String newValue)
           
 boolean setHubServerName(CommandEvent theEvent, ServiceContext theContext, java.lang.String newValue)
           
 boolean setHubServerPort(CommandEvent theEvent, ServiceContext theContext, java.lang.String newValue)
           
 boolean setHubUseSecure(CommandEvent theEvent, ServiceContext theContext, java.lang.String newValue)
           
 boolean setSecurityConfigFile(CommandEvent theEvent, ServiceContext theContext, java.lang.String newValue)
           
 boolean setSMTPServer(CommandEvent theEvent, ServiceContext theContext, java.lang.String smtpServer)
          set smtp server

 

Methods inherited from class com.essbase.eas.server.AppManCommandListener
getSession, getSession, getSession, handleEventException, handleEventPost, handleEventPrep, 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

 

Constructor Detail

AdminServerPropCommandListener

public AdminServerPropCommandListener()

Method Detail

getSMTPServer

public boolean getSMTPServer(CommandEvent theEvent,
                             ServiceContext theContext)
Return smtp server string
Parameters:
theEvent - - the command event
theContext - - the service context
Returns:
true

setSMTPServer

public boolean setSMTPServer(CommandEvent theEvent,
                             ServiceContext theContext,
                             java.lang.String smtpServer)
set smtp server
Parameters:
theEvent -
theContext -
smtpServer -

getDaoProperties

public boolean getDaoProperties(CommandEvent theEvent,
                                ServiceContext theContext)
Return smtp server string
Parameters:
theEvent - - the command event
theContext - - the service context
Returns:
true

setDaoProperties

public boolean setDaoProperties(CommandEvent theEvent,
                                ServiceContext theContext,
                                java.lang.String db,
                                java.lang.String jarArc,
                                java.lang.String driver,
                                java.lang.String url,
                                java.lang.String user,
                                java.lang.String conn,
                                java.lang.String pswd)
set Dao Properties
Parameters:
theEvent -
theContext -
-

exportDB

public boolean exportDB(CommandEvent theEvent,
                        ServiceContext theContext,
                        java.lang.String fn)

importDB

public boolean importDB(CommandEvent theEvent,
                        ServiceContext theContext,
                        java.lang.String fn)

getServerProperties

public boolean getServerProperties(CommandEvent theEvent,
                                   ServiceContext theContext)
Return server properties
Parameters:
theEvent - - the command event
theContext - - the service context
Returns:
true

getHubServerName

public boolean getHubServerName(CommandEvent theEvent,
                                ServiceContext theContext)

setHubServerName

public boolean setHubServerName(CommandEvent theEvent,
                                ServiceContext theContext,
                                java.lang.String newValue)

getHubServerPort

public boolean getHubServerPort(CommandEvent theEvent,
                                ServiceContext theContext)

getHubLogLevel

public boolean getHubLogLevel(CommandEvent theEvent,
                              ServiceContext theContext)

setHubServerPort

public boolean setHubServerPort(CommandEvent theEvent,
                                ServiceContext theContext,
                                java.lang.String newValue)

setHubLogLevel

public boolean setHubLogLevel(CommandEvent theEvent,
                              ServiceContext theContext,
                              java.lang.String logLevel)

getSecurityConfigFile

public boolean getSecurityConfigFile(CommandEvent theEvent,
                                     ServiceContext theContext)

setSecurityConfigFile

public boolean setSecurityConfigFile(CommandEvent theEvent,
                                     ServiceContext theContext,
                                     java.lang.String newValue)

getHubProvisionEnabled

public boolean getHubProvisionEnabled(CommandEvent theEvent,
                                      ServiceContext theContext)

setHubProvisionEnabled

public boolean setHubProvisionEnabled(CommandEvent theEvent,
                                      ServiceContext theContext,
                                      java.lang.String newValue)

getHubUseSecure

public boolean getHubUseSecure(CommandEvent theEvent,
                               ServiceContext theContext)

setHubUseSecure

public boolean setHubUseSecure(CommandEvent theEvent,
                               ServiceContext theContext,
                               java.lang.String newValue)

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.