|
|||||||||
| Home >> All >> com >> tripi >> [ asp overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.tripi.asp
Class Application

java.lang.Objectcom.tripi.asp.Application
- All Implemented Interfaces:
- SimpleMap
- public class Application
- extends java.lang.Object
- implements SimpleMap
- extends java.lang.Object
Application is a class which holds application-specific data. This class corresponds to the global Application object available to VBScript applications. Implementation state:
- Lock - Fully implemented.
- Unlock - Fully implemented.
- Get/Set - Fully implemented.
- Version:
- 0.9
| Field Summary | |
AspCollection |
Contents
The contents of the variables stored in this application. |
(package private) org.apache.log4j.Category |
DBG
Debugging output class. |
private java.lang.Thread |
lock
The thread which currently has the lock, null means no thread has the lock. |
| Constructor Summary | |
Application()
|
|
| Method Summary | |
java.lang.Object |
get(java.lang.Object obj)
Obtains the value of data contained within the application object. |
java.util.Enumeration |
getKeys()
Obtains the list of keys stored in this object. |
void |
Lock()
ASP function Lock, locks the application object. |
void |
put(java.lang.Object key,
java.lang.Object value)
Stores an objects into the application object. |
void |
Unlock()
ASP function Unlock, unlocks the application object. |
(package private) void |
unlockIfThreadHasLock(java.lang.Thread thread)
Internal function used to unlock the current application object only if the specified thread has a lock on it. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
DBG
org.apache.log4j.Category DBG
- Debugging output class.
lock
private java.lang.Thread lock
- The thread which currently has the lock, null means no thread
has the lock.
Contents
public AspCollection Contents
- The contents of the variables stored in this application.
| Constructor Detail |
Application
public Application()
| Method Detail |
get
public java.lang.Object get(java.lang.Object obj) throws AspException
- Obtains the value of data contained within the application
object.
put
public void put(java.lang.Object key, java.lang.Object value) throws AspException
getKeys
public java.util.Enumeration getKeys() throws AspException
- Obtains the list of keys stored in this object. Used for
foreach statements.
Lock
public void Lock()
throws AspException
- ASP function Lock, locks the application object.
Unlock
public void Unlock()
throws AspException
- ASP function Unlock, unlocks the application object.
unlockIfThreadHasLock
void unlockIfThreadHasLock(java.lang.Thread thread)
- Internal function used to unlock the current application object
only if the specified thread has a lock on it.
|
|||||||||
| Home >> All >> com >> tripi >> [ asp overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
com.tripi.asp.Application