componentScan

Register an object into storage by I's interface FQN that it implements 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

I

the inteface that object implements.

T

type of object to be registered

storage ConfigurableContainer

the storage where to register the object

Meta