Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ContextLifecycleEvent

Context lifecycle event represents different stages in Context life

author

Jānis Radiņš

Hierarchy

  • Event
    • ContextLifecycleEvent

Index

Constructors

constructor

Properties

context

context: Context

Context instance that originated event

data

data: any

Data shipped along with event notification, if any

type

type: string

Event string type

Static DESTROY

DESTROY: string = "clearCommandMap"

Dispatched as actual destroy of Context is performed.

type

{string}

Static INITIALIZE

INITIALIZE: string = "initialize"

Dispatched as pre initialize is done and actual initialization of Context injector and modules will take place

type

{string}

Static POST_DESTROY

POST_DESTROY: string = "postDestroy"

Dispatched as destroyal of Context is complete

type

{string}

Static POST_INITIALIZE

POST_INITIALIZE: string = "postInitialize"

Dispatched as Context initialization is complete

type

{string}

Static PRE_DESTROY

PRE_DESTROY: string = "preDestroy"

Dispatched as Context destroy is just about to begin.

type

{string}

Static PRE_INITIALIZE

PRE_INITIALIZE: string = "preInitialize"

Dispatched as context is just about to be initialized

type

{string}

Methods

toString

  • toString(): string