componentScan

Register an object into storage by it's type FQN 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

storage Storage!(ObjectFactory, string)

the storage where to register the object

Meta