Constructors

Methods

  • Initializes the constellation environment by bootstrapping with the provided server URL and token.

    This method performs the following steps:

    1. Calls factoryInit to register container types.
    2. Constructs a base URL using the current window location.
    3. Configures the bootstrap process with a custom rendering option and authorization header.
    4. Dynamically imports and initializes the bootstrap shell with the configuration.
    5. Disables dynamic component loading behavior in PCore.
    6. Registers a component creator with PCore for handling properties.

    Parameters

    • serverUrl: string

      The URL of the server to connect to.

    • deployUrl: string

      Constellation core will be downloaded from [deployUrl]/constellation. When no value is provided, then the deploy URL is determined as the url on which the applicaiton is running.

    • token: TokenInfo

      The token information containing authorization details.

    • localeId: string = 'en-US'

      The locale to use for this application (default en-US)

    Returns Promise<Bootstrap>

    A promise that resolves to the initialized Bootstrap instance.

  • Returns void