componentScan

Register an object into a storage contained in storageLocator and identified by @container annotation using annotations provided in it.

An object will be registered in storage only in case when it is annotated with @component annotation. In case when no @component annotation is found, object is not registered in storage.

Parameters

T

type of object to be registered

storageLocator R

the locator from which to fetch storage for object

locator Locator!()

locator used to find dependencies for object

id string

identity by which object will be stored in storage

Meta