Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MiddlewareContainer

Hierarchy

  • MiddlewareContainer

Index

Constructors

constructor

Properties

Private Readonly configurationSets

configurationSets: Map<string, Set<MiddlewareConfiguration<any>>> = new Map<string,Set<MiddlewareConfiguration>>()

Private Readonly container

container: NestContainer

Private Readonly middleware

middleware: Map<string, Map<string, InstanceWrapper<any>>> = new Map<string, Map<string, InstanceWrapper>>()

Methods

Private getClassScope

  • getClassScope<T>(type: Type<T>): Scope

getConfigurations

  • getConfigurations(): Map<string, Set<MiddlewareConfiguration>>

getMiddlewareCollection

Private getTargetConfig

  • getTargetConfig(moduleName: string): Set<MiddlewareConfiguration<any>>

insertConfig

  • insertConfig(configList: MiddlewareConfiguration[], moduleKey: string): void

Generated using TypeDoc