Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IMidwayContainer

Hierarchy

Implemented by

Properties

baseDir

baseDir: string

dependencyMap

dependencyMap: Map<string, ObjectDependencyTree>

disableConflictCheck

disableConflictCheck: boolean

messageSource

messageSource: IMessageSource

parent

props

registry

Methods

addConfiguration

addDirectoryFilter

  • addDirectoryFilter(filter: ResolveFilter[]): any

bind

  • bind<T>(target: T, options?: ObjectDefinitionOptions): void
  • bind<T>(identifier: ObjectIdentifier, target: T, options?: ObjectDefinitionOptions): void

bindClass

  • bindClass(exports: any, namespace?: string, filePath?: string): any

containsConfiguration

  • containsConfiguration(namespace: string): boolean

createChild

createConfiguration

get

  • get<T>(identifier: object, args?: any): T
  • get<T>(identifier: ObjectIdentifier, args?: any): T

getAspectService

getAsync

  • getAsync<T>(identifier: object, args?: any): Promise<T>
  • getAsync<T>(identifier: ObjectIdentifier, args?: any): Promise<T>

getConfigService

getCurrentEnv

  • getCurrentEnv(): string

getEnvironmentService

getInformationService

getResolverHandler

isAsync

load

  • load(opts: object): any
  • Parameters

    • opts: object
      • Optional ignore?: string | string[]
      • loadDir: string | string[]
      • Optional pattern?: string | string[]

    Returns any

ready

  • ready(): Promise<void>

registerDataHandler

  • registerDataHandler(handlerType: string, handler: function): any

registerObject

resolve

  • resolve<T>(target: T): T

setInformationService

stop

  • stop(): Promise<void>

Generated using TypeDoc