Class Owner
public
Uses:
BasicContainer
,
BasicRegistry
Defined in:
packages/@ember/-internals/owner/index.ts:294
Module:
@ember/owner
Since:
v4.10.0
Framework objects in an Ember application (components, services, routes, etc.) are created via a factory and dependency injection system. Each of these objects is the responsibility of an "owner", which handles its instantiation and manages its lifetime.
An Owner
is not a class you construct; it is one the framework constructs
for you. The normal way to get access to the relevant Owner
is using the
getOwner
function.