Class: Entry

Entry

Object container entry, representing either a class, interface, constant or an alias.


new Entry(classConstructor [, dependencies] [, options])

Initializes the entry.

Parameters:
Name Type Argument Default Description
classConstructor function | function

The class constructor or constant value getter.

dependencies Array.<*> <optional>
[]

The dependencies to pass into the constructor function.

options Object <optional>
<nullable>

The Entry options.

Members


_dependencies :Array.<*>

Dependencies of the class constructor of the class represented by this entry.

Type:
  • Array.<*>

_options :Object

The Entry options.

Type:
  • Object

_overrideCounter :number

The override counter

Type:
  • number

classConstructor :function|function

The constructor of the class represented by this entry, or the getter of the value of the constant represented by this entry.

Type:
  • function | function

sharedInstance :T

The shared instance of the class represented by this entry.

Type:
  • T