Registry#_resolveCache

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

Registry#_options

_optionsInheritingDictprivate Defined in packages/container/lib/registry.js:123

Registry#_normalizeCache

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

Registry#_injections

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

Registry#_factoryTypeInjections

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

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#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#resolver

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

Registry#resolve()

resolve (fullName, options) Functionprivate Defined in packages/container/lib/registry.js:218 Given a fullName return the corresponding factory. By default resolve will retrieve the factory from the registry. let registry = new Registry(); registry.register('api:twitter', Twitter); registry.resolve('api:twitter') // => Twitter Optionally the registry can be provided with a custom resolver. If provided, resolve will first provide the custom resolver the opportunity to resolve the fullNa