ApplicationManager


Purpose

Represents an independent web application manager object. Allows to install, remove and update web applications that run in the client.

The Constants section below lists errors that may be returned in a callback if an operation fails.

You can access the object by using the launchbox.ApplicationManager reference.

Module

This object belongs to the Application Manager product module.

Property

Name Description Type
self Represents the current application. The data contained within this object does not change in the application's lifecycle. object

Constants

Name Description
APPLICATION_NOT_FOUND Error returned when the application cannot be found on the application manager's list.
APPLICATION_NOT_INSTALLED Thrown when trying to start/stop a Web Application that is in "notinstalled" or "failed" state.
INVALID_APPLICATION_URL Thrown when the application's URL is incorrect.

Methods

Name Description Return type
addApplicationManagerListener

Registers a listener for the ApplicationManager's callback.

object
installApplications

Installs a set applications enumerated on the list.

undefined
startApplication

Starts an application that has been identified by means of an application ID or application's URL address.

undefined
stopApplication

Instantly kills an app that has been identified by means of an application ID or application's URL address.

undefined

Related topics

Public API reference
Legal notice | Copyright © 2018 and Confidential to Pegasystems Inc. All rights reserved
Pega Community | Feedback
Advanced...