Options
All
  • Public
  • Public/Protected
  • All
Menu

Application context loaded from remote json configuration file (like xml in spring)

remark

https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/context/support/ClassPathXmlApplicationContext.html

Hierarchy

Implements

Index

Constructors

constructor

Properties

beanPathMap

beanPathMap: Map<any, any>

beansMap

beansMap: Map<any, any>

Protected parentBeanFactory

parentBeanFactory: AbstractApplicationContext

Protected running

running: boolean = false

Private schema

Private url

url: string

Static beansMap

beansMap: Map<any, any> = new Map()

Methods

close

  • close(): void

configure

configureBeansDefinitions

  • configureBeansDefinitions(debug: boolean): void
  • Load beans configuration from context file.

    Parameters

    • debug: boolean

      show beans definition to console

    Returns void

destroyBean

  • destroyBean(instance: any): void

disposeBean

  • disposeBean(instance: any): void

findSingletonInstance

  • findSingletonInstance(key: any): any

getBean

getCachedBean

getResource

  • getResource(url: string): Promise<string>

inherit

isRunning

  • isRunning(): boolean

load

  • load(): Promise<void>
  • Load context from url.

    Returns Promise<void>

publishEvent

resolveBean

set

setParent

start

  • start(): void

startSchemaBeans

  • startSchemaBeans(debug: boolean): Promise<void>
  • Instantiate beans specified in context file.

    Parameters

    • debug: boolean

      show beans instantiated to console

    Returns Promise<void>

stop

  • stop(): void

unset

  • unset(key: Symbol): void

Generated using TypeDoc