Registry#_typeInjections

_typeInjectionsInheritingDictprivate Defined in packages/container/lib/registry.js:75

Registry#_resolveCache

_resolveCacheInheritingDictprivate Defined in packages/container/lib/registry.js:115

Registry#_normalizeCache

_normalizeCacheInheritingDictprivate Defined in packages/container/lib/registry.js:107

Registry#_factoryTypeInjections

_factoryTypeInjectionsInheritingDictprivate Defined in packages/container/lib/registry.js:91

Registry#typeInjection()

typeInjection (type, property, fullName) private Defined in packages/container/lib/registry.js:435 Used only via injection. Provides a specialized form of injection, specifically enabling all objects of one type to be injected with a reference to another object. For example, provided each object of type controller needed a router. one would do the following: let registry = new Registry(); let container = registry.container(); registry.register('router:main', Router); registry.register('con

Registry#_injections

_injectionsInheritingDictprivate Defined in packages/container/lib/registry.js:83

Registry#_factoryInjections

_factoryInjectionsInheritingDictprivate Defined in packages/container/lib/registry.js:99

Registry#unregister()

unregister (fullName) private Defined in packages/container/lib/registry.js:188 Unregister a fullName let registry = new Registry(); registry.register('model:user', User); registry.resolve('model:user').create() instanceof User //=> true registry.unregister('model:user') registry.resolve('model:user') === undefined //=> true Parameters: fullName String

Registry#register()

register (fullName, factory, options) private Defined in packages/container/lib/registry.js:151 Registers a factory for later injection. Example: let registry = new Registry(); registry.register('model:user', Person, {singleton: false }); registry.register('fruit:favorite', Orange); registry.register('communication:main', Email, {singleton: false}); Parameters: fullName String factory Function options Object

Registry#resolver

resolverResolverprivate Defined in packages/container/lib/registry.js:59 An object that has a resolve method that resolves a name.