Uiinfrastructure API Docs  
 

AppWarmUp Methods

The methods of the AppWarmUp class are listed below. For a complete list of AppWarmUp class members, see the AppWarmUp Members topic.

Public Static Methods

GenerateFailureErrorReport Handle exception in startup, and general failure messages. Also handles really intensely bad errors like path missing, jars missing, dlls missing and so forth. This is for XPExceptions and Throwables caught by the standard runner.
GetOKConfigContext Get the OpenConfig context for use by OpenKernel services.
GetSettingValue Helper to return the setting value from the settings hashtable.
GetSettingValueAsString Helper to return the setting value from the settings hashtable.
getStartupNotificationErrorLogs Gets the error report from the startup noitication service, Identical to the information generated by the diagnostic tool.
getStartupNotificationErrorReport Gets the error report from the startup noitication service, Identical to the information generated by the diagnostic tool.
HelperDeterminePaths Helper that determines some of the more complex paths. The WebHome and LibHome paths are constructed here.
HelperLoadVarPacks Helper that loads VarPacks from a config file.
HelperTestLanguages Helper that tests our language files.
Init This is the main method used to initialize the Portal Application. There are three steps to getting the Portal up and running. First, we perform any preinitialization checks. If the checks succeed, we initialize our Portal. When initialization is complete, we finally load any customized objects that we have. The difference between the initialization and loading steps is that the loading steps can be invoked again for reloading purposes. The initializations steps are not designed to be rerun.
LoopStartupTasks Actual executor for the startup tasks; handles the concept of "preflight", which the progress indicator uses to estimate the number of tasks and task-steps to run for an accurate representation of true progress. This *is* the new application warmup. Each warmup step is managed through this looping mechanism.
RunStartupTasks Execute the startup tasks defined in PTStartupTasks. Note that the handling of each return value is delegated to the notification factory. The default handling is to continue until a fatal error is encountered.
setNotification This is the first method any tool should call that wants to know if startup is successful. It sets a callback class used by the startup for notification. Calling this is optional.
setStartupNotificationErrorLogs Gets the error report from the startup noitication service, Identical to the information generated by the diagnostic tool.

Public Instance Methods

Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

AppWarmUp Class | com.plumtree.uiinfrastructure.application Namespace