|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jasp.buildin.Application
You can use the Application object to share information among all users of a given application. An ASP-based application is defined as all the .asp files in a virtual directory and its subdirectories. Because the Application object can be shared by more than one user, there are Lock and Unlock methods to ensure that multiple users do not try to alter a property simultaneously.
Constructor Summary | |
Application()
|
Method Summary | |
static jasp.buildin.ASPApplication |
application()
Returns an Application instance. |
static IVariantDictionary |
Contents()
Contains all of the items that have been added to the application through script commands. |
static variant |
Contents(java.lang.String key)
Gets the member of the Application Contents Collection. |
static ASPGlobal |
getGlobalASA()
If the global.ASA does exist, return the instance of the global class for Global.asa |
static variant |
getItem(java.lang.String key)
Gets the member of the Application Contents Collection. |
static void |
lock()
Prevents other clients from modifying Application object properties. |
static void |
setContents(java.lang.String key,
variant obj)
Sets an item to Contents collection. |
static void |
setItem(java.lang.String key,
boolean value)
Assigns a member of Application Contents collection. |
static void |
setItem(java.lang.String key,
double value)
Assigns a member of Application Contents collection. |
static void |
setItem(java.lang.String key,
int value)
Assigns a member of Application Contents collection. |
static void |
setItem(java.lang.String key,
java.lang.Object value)
Assigns a member of Application Contents Collection. |
static void |
setItem(java.lang.String key,
java.lang.String value)
Assigns a member of Application Contents collection. |
static void |
setObject(java.lang.String key,
java.lang.Object obj)
Sets a member of Application Contents collection. |
static IVariantDictionary |
StaticObjects()
Contains all of the objects added to the application with the <OBJECT> tag. |
static variant |
StaticObjects(java.lang.String key)
Gets the members of the Application StaticObjects Collection. |
static void |
unlock()
Allows other clients to modify Application object properties. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Application()
Method Detail |
public static IVariantDictionary Contents()
public static IVariantDictionary StaticObjects()
public static jasp.buildin.ASPApplication application()
public static variant StaticObjects(java.lang.String key)
key
- the name of the member.public static variant Contents(java.lang.String key)
key
- the name of the member.public static void setContents(java.lang.String key, variant obj)
key
- the name of the itemthe
- value of the item.public static void lock()
public static void unlock()
public static variant getItem(java.lang.String key)
key
- the name of the member.public static void setItem(java.lang.String key, java.lang.Object value) throws java.lang.Exception
key
- the name of the member.value
- the new value of the member.public static void setItem(java.lang.String key, int value)
key
- the name of the member.value
- the new value of the member.public static void setItem(java.lang.String key, double value)
key
- the name of the member.value
- the new value of the member.public static void setItem(java.lang.String key, boolean value)
key
- the name of the member.value
- the new value of the member.public static void setItem(java.lang.String key, java.lang.String value)
key
- the name of the member.value
- the new value of the member.public static void setObject(java.lang.String key, java.lang.Object obj) throws java.lang.Exception
key
- the name of the member.obj
- the new value of the member.public static ASPGlobal getGlobalASA()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |