Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.tripi.asp
Class GlobalScope  view GlobalScope download GlobalScope.java

java.lang.Object
  extended bycom.tripi.asp.GlobalScope

public class GlobalScope
extends java.lang.Object

The GlobalScope class contains a reference to variables and functions global to the entire ASP application.


Field Summary
(package private)  Application application
          Application object for this global scope
private static org.apache.log4j.Category DBG
          Debugging category
(package private)  AspContext globalContext
          AspContext object for this global scope
(package private)  Server server
          Server object for this global scope
(package private)  java.util.Hashtable universalScope
          The scope universal to all ASP scripts.
 
Constructor Summary
private GlobalScope()
          Constructor
 
Method Summary
static void callApplicationOnStart(javax.servlet.ServletConfig config)
          Utility function to call the APPLICATION_ONSTART VBScript subroutine.
static void callSessionOnEnd(javax.servlet.http.HttpSession session, AspCollection contents)
          Utility function to call the SESSION_ONEND VBScript subroutine.
static void callSessionOnStart(javax.servlet.http.HttpSession session, AspCollection contents)
          Utility function to call the SESSION_ONSTART VBScript subroutine.
 AspContext createContext()
          Obtains a new context relative to the global context.
 AspContext getGlobalContext()
          Get the global context.
static GlobalScope getGlobalScope(javax.servlet.ServletContext ctx)
          Obtains the global scope for the specified Servlet context.
protected  void initializeScope(javax.servlet.ServletConfig config)
          Initialized this scope.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DBG

private static final org.apache.log4j.Category DBG
Debugging category


universalScope

java.util.Hashtable universalScope
The scope universal to all ASP scripts.


globalContext

AspContext globalContext
AspContext object for this global scope


server

Server server
Server object for this global scope


application

Application application
Application object for this global scope

Constructor Detail

GlobalScope

private GlobalScope()
Constructor

Method Detail

getGlobalScope

public static GlobalScope getGlobalScope(javax.servlet.ServletContext ctx)
                                  throws AspException
Obtains the global scope for the specified Servlet context.


initializeScope

protected void initializeScope(javax.servlet.ServletConfig config)
                        throws AspException
Initialized this scope.


createContext

public AspContext createContext()
Obtains a new context relative to the global context.


getGlobalContext

public AspContext getGlobalContext()
Get the global context.


callApplicationOnStart

public static void callApplicationOnStart(javax.servlet.ServletConfig config)
                                   throws AspException
Utility function to call the APPLICATION_ONSTART VBScript subroutine.


callSessionOnStart

public static void callSessionOnStart(javax.servlet.http.HttpSession session,
                                      AspCollection contents)
                               throws AspException
Utility function to call the SESSION_ONSTART VBScript subroutine.


callSessionOnEnd

public static void callSessionOnEnd(javax.servlet.http.HttpSession session,
                                    AspCollection contents)
                             throws AspException
Utility function to call the SESSION_ONEND VBScript subroutine.