new BackendComponentContainer()

Description

DEPRECATED

This component has been deprecated. Use components in the frontend extensibility API, or SuiteScript 2.0 modules and methods instead.

Manages backend components. Extensions can get component implementations and register new component classes. A component is always referenced by its name.

Methods


registerComponent( component ) → {void}

Description

Lets you register a new component and seal it in the currently running application.

Parameters
Name Type Description
component BackendBaseComponent

The component to be registered.

Returns

getComponent( component_name ) → {BackendBaseComponent}

Description

Returns a component based on a component name, provided there is no component with the same name already in the container.

Parameters
Name Type Description
component_name String

The name of the component.