Creates a new instance of the references
tuples where odd values are component locators (descriptors) and even values are component references
The next references or decorator in the chain.
The decorator at the top of the chain.
Closes component and frees used resources.
(optional) transaction id to trace execution through call chain.
callback function that receives error or null no errors occured.
Gets all component references that match specified locator.
the locator to find a reference by.
forces to raise an exception if no reference is found.
a list with matching component references.
Gets all component references registered in this reference map.
a list with component references.
Gets locators for all registered component references in this reference map.
a list with component locators.
Gets an optional component reference that matches specified locator.
the locator to find references by.
a matching component reference or null if nothing was found.
Gets a required component reference that matches specified locator.
the locator to find a reference by.
a matching component reference.
Gets all component references that match specified locator.
the locator to find references by.
a list with matching component references or empty list if nothing was found.
Gets all component references that match specified locator. At least one component reference must be present. If it doesn't the method throws an error.
the locator to find references by.
a list with matching component references.
Checks if the component is opened.
true if the component has been opened and false otherwise.
Opens the component.
(optional) transaction id to trace execution through call chain.
callback function that receives error or null no errors occured.
Puts a new reference into this reference map.
a locator to find the reference by.
a component reference to be added.
Puts components into the references from container configuration.
a container configuration with information of components to be added.
Removes a previously added reference that matches specified locator. If many references match the locator, it removes only the first one. When all references shall be removed, use removeAll method instead.
a locator to remove reference
the removed component reference.
Removes all component references that match the specified locator.
the locator to remove references by.
a list, containing all removed references.
Creates a new ManagedReferences object filled with provided key-value pairs called tuples. Tuples parameters contain a sequence of locator1, component1, locator2, component2, ... pairs.
the tuples to fill a new ManagedReferences object.
a new ManagedReferences object.
Generated using TypeDoc
Container managed references that can be created from container configuration.
ManagedReferences