core/plugins/plugins-resolve.service.ts
Methods |
constructor(tabs: TabsService, navigator: NavigatorService, action: ActionService, actionBar: ActionBarService, breadcrumb: BreadcrumbService, dynamicComponent: DynamicComponentService, search: SearchService, c8yRouter: RouterService, docs: DocsService, wizard: WizardService, stepper: StepperService, injector: EnvironmentInjector, translateService: TranslateService, fetchClient: FetchClient, appState: AppStateService)
|
||||||||||||||||||||||||||||||||||||||||||||||||
Parameters :
|
clearURLRemotesCache |
clearURLRemotesCache()
|
Clears URL remotes cache.
Returns :
void
|
loadModule | ||||||
loadModule(remoteNgModule: NgModuleRef<> | Type<>)
|
||||||
Parameters :
Returns :
NgModuleRef<unknown>
|
loadModulesDynamically | ||||||||
loadModulesDynamically(remoteNgModules: NgModuleRef<>[] | Type<>[])
|
||||||||
Loads modules and handles hooking correctly.
Parameters :
Returns :
void
|
loadUrlRemotes |
loadUrlRemotes()
|
Retrieves the remotes list from the URL.
Returns :
ApplicationRemotePlugins
Returns the list of remotes. |
markPluginsAsLoaded |
markPluginsAsLoaded()
|
Returns :
void
|
mergeMFRemotes | ||||||||
mergeMFRemotes(mfRemotes: ApplicationRemotePlugins[])
|
||||||||
Takes a list of remotes and turns it into an object containing union of corresponding remotes. Example
Parameters :
Returns :
ApplicationRemotePlugins
Returns object with merged remotes. Example
|
refreshHooks | ||||||||
refreshHooks(allHooks)
|
||||||||
Will refresh all current registered hooks refresh such hooks, that possible has a remote plugin assigned.
Parameters :
Returns :
void
|
resolveRemotePlugins | ||||||||
resolveRemotePlugins(remoteModules: Array
|
||||||||
Loads plugins by resolving the remote NgModules and injecting it. Also attaching the hooks onto the root injector.
Parameters :
Returns :
void
|