finalizePackages

finalizePackages() updating;

The finalizePackages event method of the Process class calls the Application object finalize event to perform any terminate function common to all applications containing packages.

Normally these are executed automatically, if you run an application from the schema. However, they are not executed when a JadeScript or a Workspace method is executed unless you call the finalizePackages event method. (This maintains these interfaces in as light a weight as possible.) JADE does not initialize any packages for RootSchema applications running in user schemas, including unit tests run using the JADE Unit Test framework and the default RPS Datapump application in the RootSchema. If you require this initialization, you must initialize packages in your application code (using the Process class initializePackages and finalizePackages methods).

See also the Process class initializePackages method.