Class MiddlewareContainer
Properties
Private Readonly configurationSets
configuration
Sets: Map<string, Set<MiddlewareConfiguration<any>>> = new Map<string,Set<MiddlewareConfiguration>>()
Private Readonly container
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
-
Type parameters
Parameters
getConfigurations
- getConfigurations(): Map<string, Set<MiddlewareConfiguration>>
-
Returns Map<string, Set<MiddlewareConfiguration>>
Private getTargetConfig
- getTargetConfig(moduleName: string): Set<MiddlewareConfiguration<any>>
-
Parameters
Returns Set<MiddlewareConfiguration<any>>
insertConfig
- insertConfig(configList: MiddlewareConfiguration[], moduleKey: string): void
-
Parameters
-
configList: MiddlewareConfiguration[]
-
moduleKey: string
Returns void