Uiinfrastructure API Docs  
 

AppWarmUp Members

AppWarmUp overview

Public Static Fields

iconiconAPP_KEY_NUM_CUSTOM_VARPACKS This counter is used in the diagnostic page.
iconiconFILE_ACTIVITY_SPACES_XML 
iconiconFILE_CUSTOM_ACTIVITY_SPACES_XML 
iconiconFILE_CUSTOM_VAR_PACKS_XML 
iconiconFILE_PORTAL_CONFIG_XML 
iconiconFILE_SERVER_CONFIG_XML 
iconiconFILE_VAR_PACKS_XML 
iconiconFOLDER_COMMON 
iconiconFOLDER_DYNAMIC_LOADS 
iconiconFOLDER_I18N 
iconiconFOLDER_PORTAL 
iconiconFOLDER_SETTINGS 
iconiconKEY_APP_WARMUP_HELPER 
iconiconKEY_BASE_CONFIG_VARPACK 
iconiconKEY_CACHEMAN_CLASS_TYPE_MANAGER 
iconiconKEY_CACHEMAN_IMAGE_SERVER_HELPER 
iconiconKEY_CACHEMAN_JS_REGISTRY 
iconiconKEY_CACHEMAN_RESOURCE_MANAGER 
iconiconKEY_CACHEMAN_SECURE_JS_REGISTRY 
iconiconKEY_FILE_ACTIVITY_SPACES 
iconiconKEY_FILE_CUSTOM_ACTIVITY_SPACES 
iconiconKEY_FILE_CUSTOM_VAR_PACKS 
iconiconKEY_FILE_VAR_PACKS 
iconiconKEY_PATH_LIB_HOME 
iconiconKEY_PATH_PORTAL_CONFIG 
iconiconKEY_PATH_PORTAL_DYNAMIC_LOADS 
iconiconKEY_PATH_PORTAL_HOME 
iconiconKEY_PATH_PORTAL_I18N 
iconiconKEY_PATH_PORTAL_SETTINGS 
iconiconKEY_PATH_WEB_HOME 
iconiconKEY_STR_APPLICATION_NAME 
iconiconKEY_STR_DEV_KIT_VERSION 
iconiconKEY_STR_IMAGESERVER_BASE_URL 
iconiconKEY_STR_IMAGESERVER_CONNECTION_URL 
iconiconKEY_STR_PLATFORM 
iconiconKEY_STR_SECURE_IMAGESERVER_BASE_URL 
iconiconm_configContext 
iconiconm_portalComponent 
iconiconPARAM_APPWARMUPHELPER_LIBFILE 
iconiconPARAM_APPWARMUPHELPER_NAME 
iconiconPARAM_PTHOME_ENVVAR_NAME 
iconiconPARAM_PTHOME_PRODUCT_NAME 
iconiconPATH_SEPARATOR 
iconicons_htInitSettings Hashtable that stores all of the settings gathered from initialization. It is static because we need it to be updateable by all the static methods of this class. It was private to prevent tampering of the data, but is now public to allow unit testing.
iconiconSTR_SUPPORTED_DOTNET_SDK 
iconiconSTR_SUPPORTED_JAVA_JDK_1 
iconiconSTR_SUPPORTED_JAVA_JDK_2 
iconiconSTR_SUPPORTED_JAVA_JDK_3 
iconiconSTR_SUPPORTED_JAVA_JDK_6 
iconiconSUFFIX_WAR_FILE 
iconiconSUFFIX_XML_FILE 

Public Static Methods

iconiconGenerateFailureErrorReport 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.
iconiconGetOKConfigContext Get the OpenConfig context for use by OpenKernel services.
iconiconGetSettingValue Helper to return the setting value from the settings hashtable.
iconiconGetSettingValueAsString Helper to return the setting value from the settings hashtable.
iconicongetStartupNotificationErrorLogs Gets the error report from the startup noitication service, Identical to the information generated by the diagnostic tool.
iconicongetStartupNotificationErrorReport Gets the error report from the startup noitication service, Identical to the information generated by the diagnostic tool.
iconiconHelperDeterminePaths Helper that determines some of the more complex paths. The WebHome and LibHome paths are constructed here.
iconiconHelperLoadVarPacks Helper that loads VarPacks from a config file.
iconiconHelperTestLanguages Helper that tests our language files.
iconiconInit 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.
iconiconLoopStartupTasks 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.
iconiconRunStartupTasks 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.
iconiconsetNotification 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.
iconiconsetStartupNotificationErrorLogs Gets the error report from the startup noitication service, Identical to the information generated by the diagnostic tool.

Public Instance Constructors

icon AppWarmUp Constructor Initializes a new instance of the AppWarmUp class.

Public Instance Methods

iconEquals (inherited from Object)Determines whether the specified Object is equal to the current Object.
iconGetHashCode (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.
iconGetType (inherited from Object)Gets the Type of the current instance.
iconToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Methods

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

See Also

AppWarmUp Class | com.plumtree.uiinfrastructure.application Namespace