ApplicationContext Class

The ApplicationContext class provides the initial context of packages when a process begins, by creating transient instances of this class (along with other environmental objects such as app, appContext, and global) for the main application in which the package is imported and for each package application. (See also the Object class invokeMethod method.)

A transient instance of this class is automatically made available to the runtime copy of the application. To access this transient instance, use the appContext system variable in your method logic; for example, use appContext.initialSchema to access the schema in which the package is defined. This transient instance is unique to a specific copy of the application.

Changes made to the properties are retained until the application copy is terminated. (This data is therefore not available to other copies of the application.)

For details about switching between application contexts, see "Switching Application Contexts When Invoking a Method", in Chapter 8 of the JADE Developer’s Reference.

For details about the properties defined in the ApplicationContext class, see "ApplicationContext Properties", in the following subsection.

Object

(None)