Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Container

Hierarchy

Implements

Index

Constructors

constructor

Properties

baseDir

baseDir: string = null

configLocations

configLocations: string[] = []

id

id: string = ""

inner_parser

Protected lifeCycle

lifeCycle: ILifeCycle = null

messageSource

messageSource: IMessageSource = null

parent

parent: IApplicationContext = null

Protected readied

readied: boolean = false

Protected refreshing

refreshing: boolean = false

Accessors

dependencyMap

dependencyMap:

isReady

isReady:

parser

parser:

props

props:

registry

registry:

Methods

addLifeCycle

afterEachCreated

  • afterEachCreated(fn: function): void

beforeEachCreated

  • beforeEachCreated(fn: function): void

bind

Private convertOptionsToDefinition

createChild

Protected createObjectDependencyTree

  • createObjectDependencyTree(identifier: any, definition: any): void

dumpDependency

  • dumpDependency(): void

get

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

getAsync

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

Protected getIdentifier

  • getIdentifier(target: any): any

Protected getManagedResolverFactory

Protected init

  • init(): void

isAsync

loadDefinitions

  • loadDefinitions(configLocations: string[]): void

loadResource

ready

  • ready(): Promise<void>

refreshAsync

  • refreshAsync(): Promise<void>

registerCustomBinding

registerDefinition

registerObject

removeLifeCycle

  • removeLifeCycle(): void

resolve

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

stop

  • stop(): Promise<void>