www.element4solution.com

e4s.servlet
Class E4MethodRegistry

java.lang.Object
  extended by e4s.util.E4Object
      extended by e4s.servlet.E4MethodRegistry

public class E4MethodRegistry
extends E4Object

Registration of the callback functions. Your application consists of different modules, inheritated from E4ModuleImplementation. Each of this modules contains one or more function, and a public static member variable of class E4Method which is initially assigned with null. Now this module comes into the play: each module registerd, is interpreted and the E4Method becomes assigned a unique alias key (int). Based on this key, the CGI mechanism of the server/browser communicates and the e4s on the backend side can convert the alias key into instancing of your module, and calling your function providing possible parameters.

Since:
JDK 1.4
See Also:
E4Method, E4ModuleDeclarations, E4ServletImplementation.invoceFunctionHTML(e4s.html.E4Method_Intf, e4s.html.E4CgiParams, e4s.servlet.E4ServletImplementation_Intf)

Field Summary
 
Fields inherited from class e4s.util.E4Object
CRLF, E4S_CORE_SYSTEM_LANGUAGE, NBSP, NULLSTR, URL_ENCODING_CHARSET
 
Constructor Summary
E4MethodRegistry()
           
 
Method Summary
static java.lang.String _getSVNVersionString()
          Get version info string from subversion.
static boolean declareClass(java.lang.Class clazz)
          This is a must for all application modules, each module needs to be handled to this function to assign the callback functions.
static boolean isDeclared(E4ModuleImplementation module)
          Check, if an application module has already been declared.
 
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, isok, lastCallingFunction, lastCallingFunction, lastCallingFunction, lastCallingFunction, lastCallingStack, mkdirs, null2nbsp, null2nbsp, null2nbsp, ok, 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
 

Constructor Detail

E4MethodRegistry

public E4MethodRegistry()
Method Detail

isDeclared

public static boolean isDeclared(E4ModuleImplementation module)
Check, if an application module has already been declared.

See Also:
#declareClass( e4s.servlet.E4ModuleImplementation )

declareClass

public static boolean declareClass(java.lang.Class clazz)
This is a must for all application modules, each module needs to be handled to this function to assign the callback functions.

Parameters:
clazz - the class module, inheritated from E4ModuleImplementation.
See Also:
E4Method

_getSVNVersionString

public static java.lang.String _getSVNVersionString()
Get version info string from subversion.

Returns:
the version info string.
See Also:
E4Util.getRevisionCodeFromSVN(Class)

www.element4solution.com