new ComponentContainer()

Description

Manager of components. Extensions can get components implementations and register new component
classes. A component is referenced always by its name. Host application provides a container instance to extensions through
method ExtensionEntryPoint#mountToApp

Methods


registerComponent( component ) → {void}

Description

Registers a new component with the current application. The component is sealed to prevent the addition of new properties and interference with other component APIs.

Parameters
Name Type Description
component BaseComponent

The component to be registered.

Returns

getComponent( component_name ) → {BaseComponent}

Description

Returns the requested component based on its name if there is no component with that name registered in this container

Parameters
Name Type Description
component_name String
Returns