Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DependenciesScanner

Hierarchy

  • DependenciesScanner

Index

Constructors

constructor

  • new DependenciesScanner(container: any, metadataScanner: any, applicationConfig?: ApplicationConfig): DependenciesScanner
  • Parameters

    • container: any
    • metadataScanner: any
    • Default value applicationConfig: ApplicationConfig = new application_config_1.ApplicationConfig()

    Returns DependenciesScanner

Methods

addScopedEnhancersMetadata

  • addScopedEnhancersMetadata(): void
  • Add either request or transient globally scoped enhancers to all controllers metadata storage

    Returns void

applyApplicationProviders

  • applyApplicationProviders(): void
  • Returns void

calculateModulesDistance

  • calculateModulesDistance(modules: any): Promise<void>
  • Parameters

    • modules: any

    Returns Promise<void>

flatten

  • flatten(arr: any): any
  • Parameters

    • arr: any

    Returns any

getApplyProvidersMap

  • getApplyProvidersMap(): { [constants_2.APP_FILTER]: any; [constants_2.APP_GUARD]: any; [constants_2.APP_INTERCEPTOR]: any; [constants_2.APP_PIPE]: any }
  • Returns { [constants_2.APP_FILTER]: any; [constants_2.APP_GUARD]: any; [constants_2.APP_INTERCEPTOR]: any; [constants_2.APP_PIPE]: any }

    • [constants_2.APP_FILTER]: function
      • [constants_2.APP_FILTER](filter: any): void
      • Parameters

        • filter: any

        Returns void

    • [constants_2.APP_GUARD]: function
      • [constants_2.APP_GUARD](guard: any): void
      • Parameters

        • guard: any

        Returns void

    • [constants_2.APP_INTERCEPTOR]: function
      • [constants_2.APP_INTERCEPTOR](interceptor: any): void
      • Parameters

        • interceptor: any

        Returns void

    • [constants_2.APP_PIPE]: function
      • [constants_2.APP_PIPE](pipe: any): void
      • Parameters

        • pipe: any

        Returns void

getApplyRequestProvidersMap

  • getApplyRequestProvidersMap(): { [constants_2.APP_FILTER]: any; [constants_2.APP_GUARD]: any; [constants_2.APP_INTERCEPTOR]: any; [constants_2.APP_PIPE]: any }
  • Returns { [constants_2.APP_FILTER]: any; [constants_2.APP_GUARD]: any; [constants_2.APP_INTERCEPTOR]: any; [constants_2.APP_PIPE]: any }

    • [constants_2.APP_FILTER]: function
      • [constants_2.APP_FILTER](filter: any): void
      • Parameters

        • filter: any

        Returns void

    • [constants_2.APP_GUARD]: function
      • [constants_2.APP_GUARD](guard: any): void
      • Parameters

        • guard: any

        Returns void

    • [constants_2.APP_INTERCEPTOR]: function
      • [constants_2.APP_INTERCEPTOR](interceptor: any): void
      • Parameters

        • interceptor: any

        Returns void

    • [constants_2.APP_PIPE]: function
      • [constants_2.APP_PIPE](pipe: any): void
      • Parameters

        • pipe: any

        Returns void

insertController

  • insertController(controller: any, token: any): void
  • Parameters

    • controller: any
    • token: any

    Returns void

insertExportedProvider

  • insertExportedProvider(exportedProvider: any, token: any): void
  • Parameters

    • exportedProvider: any
    • token: any

    Returns void

insertImport

  • insertImport(related: any, token: any, context: any): Promise<any>
  • Parameters

    • related: any
    • token: any
    • context: any

    Returns Promise<any>

insertInjectable

  • insertInjectable(injectable: any, token: any, host: any): void
  • Parameters

    • injectable: any
    • token: any
    • host: any

    Returns void

insertModule

  • insertModule(module: any, scope: any): Promise<any>
  • Parameters

    • module: any
    • scope: any

    Returns Promise<any>

insertProvider

  • insertProvider(provider: any, token: any): any
  • Parameters

    • provider: any
    • token: any

    Returns any

isCustomProvider

  • isCustomProvider(provider: any): boolean
  • Parameters

    • provider: any

    Returns boolean

isDynamicModule

  • isDynamicModule(module: any): boolean
  • Parameters

    • module: any

    Returns boolean

isForwardReference

  • isForwardReference(module: any): boolean
  • Parameters

    • module: any

    Returns boolean

isRequestOrTransient

  • isRequestOrTransient(scope: any): boolean
  • Parameters

    • scope: any

    Returns boolean

reflectControllers

  • reflectControllers(module: any, token: any): void
  • Parameters

    • module: any
    • token: any

    Returns void

reflectDynamicMetadata

  • reflectDynamicMetadata(obj: any, token: any): void
  • Parameters

    • obj: any
    • token: any

    Returns void

reflectExports

  • reflectExports(module: any, token: any): void
  • Parameters

    • module: any
    • token: any

    Returns void

reflectImports

  • reflectImports(module: any, token: any, context: any): Promise<void>
  • Parameters

    • module: any
    • token: any
    • context: any

    Returns Promise<void>

reflectInjectables

  • reflectInjectables(component: any, token: any, metadataKey: any): void
  • Parameters

    • component: any
    • token: any
    • metadataKey: any

    Returns void

reflectKeyMetadata

  • reflectKeyMetadata(component: any, key: any, method: any): any
  • Parameters

    • component: any
    • key: any
    • method: any

    Returns any

reflectMetadata

  • reflectMetadata(metatype: any, metadataKey: any): any
  • Parameters

    • metatype: any
    • metadataKey: any

    Returns any

reflectParamInjectables

  • reflectParamInjectables(component: any, token: any, metadataKey: any): void
  • Parameters

    • component: any
    • token: any
    • metadataKey: any

    Returns void

reflectProviders

  • reflectProviders(module: any, token: any): void
  • Parameters

    • module: any
    • token: any

    Returns void

registerCoreModule

  • registerCoreModule(): Promise<void>
  • Returns Promise<void>

scan

  • scan(module: any): Promise<void>
  • Parameters

    • module: any

    Returns Promise<void>

scanForModules

  • scanForModules(module: any, scope?: any[], ctxRegistry?: any[]): Promise<any>
  • Parameters

    • module: any
    • Default value scope: any[] = []
    • Default value ctxRegistry: any[] = []

    Returns Promise<any>

scanModulesForDependencies

  • scanModulesForDependencies(): Promise<void>
  • Returns Promise<void>

Generated using TypeDoc