Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MidwayWebSingleProcessFramework

Hierarchy

  • MidwayWebSingleProcessFramework

Implements

Properties

agent

agent: any

app

configurationOptions

configurationOptions: IMidwayWebConfigurationOptions

Methods

configure

createLogger

  • createLogger(name: string, options?: LoggerOptions): any

getAppDir

  • getAppDir(): string

getApplication

getApplicationContext

  • getApplicationContext(): IMidwayContainer

getBaseDir

  • getBaseDir(): string

getConfiguration

  • getConfiguration(key?: string): any

getCoreLogger

  • getCoreLogger(): EggLogger

getCurrentEnvironment

  • getCurrentEnvironment(): string

getDefaultContextLoggerClass

  • getDefaultContextLoggerClass(): MidwayKoaContextLogger

getFrameworkName

  • getFrameworkName(): string

getFrameworkType

getLogger

  • getLogger(name?: string): EggLogger & ILogger

getProjectName

  • getProjectName(): string

getServer

  • getServer(): Server

initialize

  • initialize(options: Partial<IMidwayBootstrapOptions>): Promise<void>

loadExtension

  • loadExtension(): Promise<void>

loadLifeCycles

  • loadLifeCycles(): void

run

  • run(): Promise<void>

stop

  • stop(): Promise<void>

Generated using TypeDoc