import { ComponentsRegistry } from "https://deno.land/x/mandarinets@v2.3.2/main-core/components-registry/componentRegistry.ts";
This class is also known as the DI container. This class handles the addition, initialization and injection for all mandarine components This class is also responsible for connection repository methods to a repository proxy method in order to resolve queries
Properties
private
logger: LogMethods
private
connectRepositoryToProxy(repositoryObject: Mandarine.MandarineCore.ComponentRegistryContext)clearComponentRegistry(): void
connectRepositoriesToProxy(): void
exist(itemName: string): boolean
get(itemName: string): Mandarine.MandarineCore.ComponentRegistryContext | undefined
getAllComponentNames(): Array<string>
getAllComponentNamesByType(componentType: Mandarine.MandarineCore.ComponentTypes): Array<string> | undefined
getAllRepositories(): Array<Mandarine.MandarineCore.ComponentRegistryContext>
getComponentByHandlerType(classType: any): Mandarine.MandarineCore.ComponentRegistryContext | undefined
getComponents(): Mandarine.MandarineCore.ComponentRegistryContext[]
getComponentsByComponentType(componentType: Mandarine.MandarineCore.ComponentTypes): Mandarine.MandarineCore.ComponentRegistryContext[]
getControllers(): Mandarine.MandarineCore.ComponentRegistryContext[]
getRepositoryByHandlerType(classType: any): Mandarine.MandarineCore.ComponentRegistryContext | undefined
initializeControllers(): void
register(): void
componentName: string,
componentInstance: any,
componentType: Mandarine.MandarineCore.ComponentTypes,
configuration: any,
resolveDependencies(): void
update(itemName: string, newValue: Mandarine.MandarineCore.ComponentRegistryContext | undefined): void