Class SettingsManagerBase<CustomSettings>

SettingsManager is responsible for managing the application's settings, including the configuration for the service registry and custom settings specified by the user. It extends EventEmitter to allow for emitting events related to settings management and implements the Service interface from the Layer.App namespace, indicating its role in the application's service architecture. It utilizes configuration managers for both service registry and custom settings, supporting dynamic loading and management of these configurations.

Additionally, it can load application metadata from package.json and README.md content, providing a centralized way to access application information and documentation.

Type Parameters

Hierarchy (View Summary)

Constructors

Properties

Methods

Constructors

Properties

instanceId: string = ...

Instance identifier

package?: Package

Package version info

readme?: string

Readme file content

Methods

  • Close the underlying configuration providers

    Returns Promise<void>

  • Start the underlying configuration providers

    Returns Promise<void>

  • Stop the underlying configuration providers

    Returns Promise<void>