Class BaseFramework<APP, CTX, OPT, ResOrNext, Next>Abstract

Type Parameters

Hierarchy

  • BaseFramework

Implements

Constructors

Properties

app: APP
appLogger: ILogger
applicationContext: IMidwayContainer
asyncContextManager: AsyncContextManager
bootstrapOptions: IMidwayBootstrapOptions
composeMiddleware: any = null
configService: MidwayConfigService
configurationOptions: OPT
contextLoggerApplyLogger: string
contextLoggerFormat: LoggerContextFormat
defaultContext: {} = {}

Type declaration

    environmentService: MidwayEnvironmentService
    filterManager: FilterManager<CTX, ResOrNext, Next> = ...
    guardManager: GuardManager<CTX> = ...
    informationService: MidwayInformationService
    logger: ILogger
    loggerService: MidwayLoggerService
    middlewareManager: ContextMiddlewareManager<CTX, ResOrNext, Next> = ...
    middlewareService: MidwayMiddlewareService<CTX, ResOrNext, Next>
    mockService: MidwayMockService

    Methods

    • Parameters

      • applicationProperties: {} = {}
        • whiteList: string[] = []

        Returns void

      • Parameters

        • ctx: CTX
        • supplierClz: (new (...args: any[]) => any)
            • new (...args: any[]): any
            • Parameters

              • Rest ...args: any[]

              Returns any

        • methodName: string

        Returns Promise<boolean>

      Generated using TypeDoc