Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ContainerLoader

deprecated

Hierarchy

  • ContainerLoader

Constructors

constructor

Properties

applicationContext

applicationContext: MidwayContainer

baseDir

baseDir: any

disableConflictCheck

disableConflictCheck: boolean

isTsMode

isTsMode: any

preloadModules

preloadModules: any

Methods

getApplicationContext

initialize

  • initialize(): void

loadDirectory

  • loadDirectory(loadOpts?: object): void
  • Parameters

    • Default value loadOpts: object = {}
      • Optional baseDir?: string
      • Optional disableAutoLoad?: boolean
      • Optional ignore?: string | string[]
      • Optional loadDir?: string[]
      • Optional pattern?: string | string[]

    Returns void

loadLifeCycles

  • loadLifeCycles(): Promise<void>

refresh

  • refresh(): Promise<void>

registerHook

  • registerHook(hookKey: any, hookHandler: any): void

stop

  • stop(): Promise<void>

Generated using TypeDoc