ContainerReferences

Container’s managed references that can be created from a container’s configuration.

Extends: ManagedReferences

Description

The ContainerReferences class allows you to create container’s managed references that can be created from a container configuration.

Constructors

Creates a new instance of ContainerReferences.

ContainerReferences(List tuples)

  • tuples: List - tuples where odd values are component locators (descriptors) and even values are component references

Instance methods

putFromConfig

Puts components into the references from the container’s configuration.

Throws CreateException when one of component cannot be created.

void putFromConfig(ContainerConfig config)

  • config: ContainerConfig - container’s configuration with information of the components to be added.

See also