EngineInstance#unregister()

unregister (fullName) public Inherited from RegistryProxyMixin but overwritten in packages/ember-application/lib/system/engine-instance.js:118 Unregister a factory. Overrides RegistryProxy#unregister in order to clear any cached instances of the unregistered factory. Parameters: fullName String

EngineInstance#engine

engineEmber.Engineprivate Defined in packages/ember-application/lib/system/engine-instance.js:31 The base Engine for which this is an instance.

EngineInstance

Ember.EngineInstance Class PUBLIC Extends: Ember.Object Uses: RegistryProxyMixin Uses: ContainerProxyMixin Defined in: packages/ember-application/lib/system/engine-instance.js:18 Module: ember-application The EngineInstance encapsulates all of the stateful aspects of a running Engine.

EngineInstance#cloneParentDependencies()

cloneParentDependenciesprivate Defined in packages/ember-application/lib/system/engine-instance.js:194 Clone dependencies shared between an engine instance and its parent.

EngineInstance#buildChildEngineInstance()

buildChildEngineInstance (name, options) Ember.EngineInstance,Errorprivate Defined in packages/ember-application/lib/system/engine-instance.js:168 Build a new Ember.EngineInstance that's a child of this instance. Engines must be registered by name with their parent engine (or application). Parameters: name String the registered name of the engine. options Object options provided to the engine instance. Returns: Ember.EngineInstance,Error

EngineInstance#boot()

boot (options) Promiseprivate Defined in packages/ember-application/lib/system/engine-instance.js:61 Initialize the Ember.EngineInstance and return a promise that resolves with the instance itself when the boot process is complete. The primary task here is to run any registered instance initializers. See the documentation on BootOptions for the options it takes. Parameters: options Object Returns: Promise

Engine.buildRegistry()

buildRegistry (namespace) Ember.Registryprivatestatic Inherited from Ember.Engine but overwritten in packages/ember-application/lib/system/engine.js:370 This creates a registry with the default Ember naming conventions. It also configures the registry: registered views are created every time they are looked up (they are not singletons) registered templates are not factories; the registered value is returned directly. the router receives the application as its namespace property all controll

Engine#resolverFor()

resolverFor (namespace) *private Defined in packages/ember-application/lib/system/engine.js:436 This function defines the default lookup rules for container lookups: templates are looked up on Ember.TEMPLATES other names are looked up on the application after classifying the name. For example, controller:post looks up App.PostController by default. if the default lookup fails, look for registered classes on the container This allows the application to register default injections in the con

Engine#resolver

resolverpublic Inherited from Ember.Engine but overwritten in packages/ember-application/lib/system/engine.js:427 Set this to provide an alternate class to Ember.DefaultResolver

Engine#runInstanceInitializers()

runInstanceInitializersprivate Defined in packages/ember-application/lib/system/engine.js:154 Available since 1.12.0