www.element4solution.com

e4s.application.sysmodule
Class E4ModuleSystem

java.lang.Object
  extended by e4s.util.E4Object
      extended by e4s.html.E4HtmlObject
          extended by e4s.servlet.E4ModuleImplementation
              extended by e4s.application.sysmodule.E4ModuleSystem

public class E4ModuleSystem
extends E4ModuleImplementation

This class provides some system functionality for debug and troubleshooting assistance.

Since:
JDK 1.4

Field Summary
static E4Method blankPage
           
static E4Method changeTimeout
           
static E4Method changeTimeout_Save
           
static E4Method displayObject
           
static E4Method endlessLoopTest
           
static E4FrameName FRAME_MAIN
          The name of the main application frame.
static E4Method hostTracker
           
static E4Method listSessionObjects
           
static E4MethodSilent logAndTerminateSession
           
static E4Method mainStart
           
static java.lang.String PARAM_FRAME_HEIGHT
           
static java.lang.String PARAM_FRAME_WIDTH
           
static java.lang.String PARAM_FRAMENAME
           
static java.lang.String PARAM_WINDOW_DX
           
static java.lang.String PARAM_WINDOW_DY
           
static java.lang.String PARAM_WINDOW_X
           
static java.lang.String PARAM_WINDOW_Y
           
static java.lang.String PARAM_WINDOWNAME
           
static E4Method resizeFrame
          This function is called when a frame is resized.
static E4Method resizeWindow
          This function is called when a window is resized or moved.
static E4Method showE4Objects
           
static E4Method showMethodActivity
           
static E4Method showSessions
           
static E4Method showSystemImages
           
static E4Method showTrace
           
static E4Method sqlMonitor
           
static E4Method sqlMonitorClean
           
static E4Method sqlMonitorOnOff
           
 
Fields inherited from class e4s.html.E4HtmlObject
m_parent_e4sID
 
Fields inherited from class e4s.util.E4Object
CRLF, E4S_CORE_SYSTEM_LANGUAGE, NBSP, NULLSTR, URL_ENCODING_CHARSET
 
Constructor Summary
E4ModuleSystem()
           
 
Method Summary
static java.lang.String _getSVNVersionString()
           
 void blankPage(HTML html)
          Create a blank page
 void changeTimeout_Save(HTML html, E4CgiParams params)
           
 void changeTimeout(HTML html, E4CgiParams params)
           
 void displayObject(HTML html, E4CgiParams p)
           
 void endlessLoopTest(HTML html)
           
 void hostTracker(HTML html)
          This method is intended to be used in combination with services like http://www.hyperspin.com.
 void listSessionObjects(HTML html)
           
 void logAndTerminateSession(HTML html)
           
 void mainStart(HTML html, E4CgiParams params)
          Main startup routine.
 void resizeFrame(HTML html, E4CgiParams p)
           
 void resizeWindow(HTML html, E4CgiParams p)
           
 void showE4Objects(HTML html, E4CgiParams params)
          Show E4Object statistics.
 void showMethodActivity(HTML html, E4CgiParams params)
           
 void showSessions(HTML html)
           
 void showSystemImages(HTML html)
           
 void showTrace(HTML html, E4CgiParams params)
           
 void sqlMonitor(HTML html, E4CgiParams params)
           
 void sqlMonitorClean(HTML html, E4CgiParams params)
           
 void sqlMonitorOnOff(HTML html, E4CgiParams params)
           
 
Methods inherited from class e4s.servlet.E4ModuleImplementation
canDo, canDo, canRun, closeHtmlOutput, empty2nbsp, empty2nbsp, getApplication_Permissions, getApplication, getApplObj, getClient, getClientImage, getClientObject, getClientObject, getClientObject, getClientValue, getClientValueBool, getClientValueDate, getClientValueFloat, getClientValueInt, getClientValueLong, getCookie, getCookieArr, getCookieBool, getCookieDate, getCookieLong, getCountryCode, getCSS, getDateFormat, getDbConnection, getDecimalSign, getE4ClientLogo, getE4S_Permissions, getLanguage_App, getLanguage_Sys, getLanguage, getParameters, getPersistantParameter, getPersistantParameterBoolean, getPersistantParameterDate, getPersistantParameterInt, getPersistantParameterIntArr, getPersistantParameterLong, getPickParams, getRemoteAddr, getRequiredModulePermission, getServlet, getSession, getSessionId, getSessionObject_Boolean, getSessionObject_Long, getSessionObject_String, getSessionObject, getSessionObject, getSessionObjects, getTimeFormat, getTimeZone, getUrl, getUserEmail, getUserValue, getUserValue, getUserValueArr, getUserValueBool, getUserValueBool, getUserValueDate, getUserValueDate, getUserValueInt, getUserValueInt, getUserValueLong, getUserValueLong, isok, isPersistant, isRunningWindow, isTimeout, ok, openHtmlOutput, removeApplicationObject, removeClientObject, removeClientObject, removeClientObject, removeClientValue, removeSessionObject, removeSessionObject, removeUserValue, removeUserValue, resetClientLogo, setAjaxTrace, setApplication, setApplicationObject, setClientObject, setClientObject, setClientObject, setClientValue, setClientValue, setClientValue, setClientValue, setClientValue, setClientValue, setClientValue, setCookie, setCookie, setCookie, setCookie, setCookie, setCookie, setCookie, setCookie, setPersistantParameter, setPersistantParameter, setPersistantParameter, setPersistantParameter, setPersistantParameter, setPersistantParameter, setServlet, setSessionObject, setSessionObject, setSessionObject, setSessionObject, setUserValue, setUserValue, setUserValue, setUserValue, setUserValue, setUserValue, setUserValue, setUserValue, setUserValue, setUserValue, setUserValue, setUserValue, setUserValue, setUserValue, setUserValue, SystemError, write, write, write, write, write, writeln, writeln, writeln, writeln
 
Methods inherited from class e4s.html.E4HtmlObject
E4ID, E4ID, set_e4sID
 
Methods inherited from class e4s.util.E4Object
Calendar, CName, CName, E4LabelApp, E4LabelApp, E4LabelApp, E4LabelApp, E4LabelApp, E4LabelApp, E4LabelNone, E4LabelNone, E4LabelNone, E4LabelNone, E4LabelSys, E4LabelSys, e4sCopyright, e4sVersion, encode, encode, encode, encodeHtml, encodeHtml, encodeHtml, encodeURL, encodeURL, encodeURL, finalize, getLINE, getTRACE, getTRACE, getTRACE, getTRACE, getTRACE, getTRACE, getTraceMemory, HtmlEncode, HtmlEncode, HtmlEncode, isdecimal, isdigit, isnotok, isnotok, isnumeric, isok, isok, isok, lastCallingFunction, lastCallingFunction, lastCallingFunction, lastCallingFunction, lastCallingStack, mkdirs, null2nbsp, null2nbsp, null2nbsp, ok, ok, ok, outPrintln, setLogFile4Trace, setTraceMemory, STACKTRACE, toDebug, toDouble, toFloat, toFloat, toString, TRACE_CALLS, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, wait
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

mainStart

public static E4Method mainStart

listSessionObjects

public static E4Method listSessionObjects

displayObject

public static E4Method displayObject

showSystemImages

public static E4Method showSystemImages

changeTimeout

public static E4Method changeTimeout

changeTimeout_Save

public static E4Method changeTimeout_Save

showSessions

public static E4Method showSessions

showMethodActivity

public static E4Method showMethodActivity

blankPage

public static E4Method blankPage

sqlMonitor

public static E4Method sqlMonitor

sqlMonitorOnOff

public static E4Method sqlMonitorOnOff

sqlMonitorClean

public static E4Method sqlMonitorClean

showTrace

public static E4Method showTrace

showE4Objects

public static E4Method showE4Objects

hostTracker

public static E4Method hostTracker

logAndTerminateSession

public static E4MethodSilent logAndTerminateSession

endlessLoopTest

public static E4Method endlessLoopTest

resizeFrame

public static E4Method resizeFrame
This function is called when a frame is resized. Two parameters, width and height for the new frame position are stored.


resizeWindow

public static E4Method resizeWindow
This function is called when a window is resized or moved. Four parameters, screen x and y, width and height for the new window position are stored.


PARAM_FRAMENAME

public static java.lang.String PARAM_FRAMENAME

PARAM_FRAME_WIDTH

public static java.lang.String PARAM_FRAME_WIDTH

PARAM_FRAME_HEIGHT

public static java.lang.String PARAM_FRAME_HEIGHT

PARAM_WINDOWNAME

public static java.lang.String PARAM_WINDOWNAME

PARAM_WINDOW_X

public static java.lang.String PARAM_WINDOW_X

PARAM_WINDOW_Y

public static java.lang.String PARAM_WINDOW_Y

PARAM_WINDOW_DX

public static java.lang.String PARAM_WINDOW_DX

PARAM_WINDOW_DY

public static java.lang.String PARAM_WINDOW_DY

FRAME_MAIN

public static final E4FrameName FRAME_MAIN
The name of the main application frame.

Constructor Detail

E4ModuleSystem

public E4ModuleSystem()
Method Detail

listSessionObjects

public void listSessionObjects(HTML html)

displayObject

public void displayObject(HTML html,
                          E4CgiParams p)

resizeFrame

public void resizeFrame(HTML html,
                        E4CgiParams p)

resizeWindow

public void resizeWindow(HTML html,
                         E4CgiParams p)

mainStart

public void mainStart(HTML html,
                      E4CgiParams params)
Main startup routine. Creates a FRAMESET and builds a menu with all E4Method which have an alias greater or equal to E4Method.USERDEF_ALIAS.

See Also:
E4Method.USERDEF_ALIAS, E4Settings.getDefaultAlias()

showSystemImages

public void showSystemImages(HTML html)

showSessions

public void showSessions(HTML html)
                  throws E4PermissionException
Throws:
E4PermissionException

changeTimeout

public void changeTimeout(HTML html,
                          E4CgiParams params)
                   throws java.lang.Exception
Throws:
java.lang.Exception

changeTimeout_Save

public void changeTimeout_Save(HTML html,
                               E4CgiParams params)
                        throws java.lang.Exception
Throws:
java.lang.Exception

sqlMonitorClean

public void sqlMonitorClean(HTML html,
                            E4CgiParams params)
                     throws E4PermissionException
Throws:
E4PermissionException

sqlMonitor

public void sqlMonitor(HTML html,
                       E4CgiParams params)
                throws E4PermissionException
Throws:
E4PermissionException

sqlMonitorOnOff

public void sqlMonitorOnOff(HTML html,
                            E4CgiParams params)
                     throws E4PermissionException
Throws:
E4PermissionException

blankPage

public void blankPage(HTML html)
Create a blank page


showTrace

public void showTrace(HTML html,
                      E4CgiParams params)
               throws E4PermissionException
Throws:
E4PermissionException

showE4Objects

public void showE4Objects(HTML html,
                          E4CgiParams params)
                   throws E4PermissionException
Show E4Object statistics.

Throws:
E4PermissionException
See Also:
E4ObjectCounter

hostTracker

public void hostTracker(HTML html)
This method is intended to be used in combination with services like http://www.hyperspin.com. When the function is called, the name of the server is returned.


logAndTerminateSession

public void logAndTerminateSession(HTML html)

showMethodActivity

public void showMethodActivity(HTML html,
                               E4CgiParams params)

endlessLoopTest

public void endlessLoopTest(HTML html)

_getSVNVersionString

public static java.lang.String _getSVNVersionString()

www.element4solution.com