Options
All
  • Public
  • Public/Protected
  • All
Menu

Class BootstrapStarter

Hierarchy

  • BootstrapStarter

Properties

Protected appDir

appDir: string

Protected baseDir

baseDir: string

Protected bootstrapItems

bootstrapItems: IMidwayFramework<any, any>[] = []

Protected globalAppMap

globalAppMap: Map<MidwayFrameworkType, IMidwayApplication<any>> = new Map<MidwayFrameworkType,IMidwayApplication<any>>()

Protected globalConfig

globalConfig: any

Protected globalOptions

globalOptions: Partial<IMidwayBootstrapOptions>

Methods

configure

  • configure(options: IMidwayBootstrapOptions): this

getActions

  • getActions(action: string, args?: any): any[]

Protected getBaseDir

  • getBaseDir(): string

getBootstrapAppMap

getFirstActions

  • getFirstActions(action: string, args?: any): Promise<any>

Protected getMainFramework

  • getMainFramework(): IMidwayFramework<any, any>

getTailActions

  • getTailActions(action: string, args?: any): any[]

init

  • init(): Promise<void>

load

  • load(unit: function): any
  • load(unit: IMidwayFramework<any, any>): any

Protected refreshBootstrapItems

  • refreshBootstrapItems(): void

run

  • run(): Promise<void>

stop

  • stop(): Promise<void>

Generated using TypeDoc