jasp.buildin
Class ASPGlobal

java.lang.Object
  |
  +--jasp.buildin.ASPGlobal

public class ASPGlobal
extends java.lang.Object

This class is for handling the events in Global.asa file. The Global.asa will be converted to a servlet to extend this class.


Constructor Summary
ASPGlobal()
           
 
Method Summary
 void application_init()
          Initializes the application variables , for example: the variable is declared with Object target in ASP file.
 void application_onend()
          The application_onend event occurs when the application quits, after the Session_OnEnd event.
 void application_onstart()
          The application_onstart event occurs before the first new session is created, that is, before the Session_OnStart event.
 void finalize()
          Finalize the global class.
 void initApp()
          Call application_init and application_onstart method in Global java.
 void initSession()
          Call session_init and session_onstart method in Global java.
 void session_init()
          Initializes the session scope variables , for example: the variable is declared with Object target in ASP file.
 void session_onend()
          The session_onend event occurs when a session is abandoned or times out.
 void session_onstart()
          The session_onstart event occurs when the server creates a new session.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ASPGlobal

public ASPGlobal()
Method Detail

application_onstart

public void application_onstart()
                         throws java.lang.Exception
The application_onstart event occurs before the first new session is created, that is, before the Session_OnStart event. Only the Application and Server built-in objects are available.

application_onend

public void application_onend()
                       throws java.lang.Exception
The application_onend event occurs when the application quits, after the Session_OnEnd event. Only the Application and Server built-in objects are available.

session_onstart

public void session_onstart()
                     throws java.lang.Exception
The session_onstart event occurs when the server creates a new session. The server processes this script prior to executing the requested page.

session_onend

public void session_onend()
                   throws java.lang.Exception
The session_onend event occurs when a session is abandoned or times out. Of the server built-in objects, only the Application, Server, and Session objects are available.

application_init

public void application_init()
                      throws java.lang.Exception
Initializes the application variables , for example: the variable is declared with Object target in ASP file.

session_init

public void session_init()
                  throws java.lang.Exception
Initializes the session scope variables , for example: the variable is declared with Object target in ASP file.

finalize

public void finalize()
Finalize the global class.

initApp

public void initApp()
Call application_init and application_onstart method in Global java.

initSession

public void initSession()
Call session_init and session_onstart method in Global java.