Private constructorPrivate _lastPrivate _loadPrivate _loadPrivate _registrationsPrivate Static _instanceCheck if startup loading has been completed
Static InstanceReturns the singleton instance of StartupManager
Private ExecuteInternal method that performs the actual startup loading work.
Optional contextUser: UserInfoOptional provider: IMetadataProviderGet all registered startup classes, sorted by priority (lower numbers first).
Private GroupGroup registrations by their priority for parallel loading within priority levels.
Register a class for startup loading. Called by
decorator.
Private ResolveResolve the priority from options, defaulting to 100 if not specified.
Handles all startup activities including initializing the local cache manager and then loading all registered startup classes in priority order.
Classes with the same priority are loaded in parallel.
This method is idempotent - multiple callers will receive the same promise and startup classes are only loaded once unless forceRefresh is true. This prevents race conditions when multiple components await startup completion.
If true, reload all startup classes even if already loaded
Optional contextUser: UserInfoThe authenticated user context
Optional provider: IMetadataProviderOptional metadata provider
Results of all load operations
Manages registration and loading of startup classes. This is a singleton that handles the
Register For Startup
decorator pattern.