registerInjection

Registers a dependency injector for the given annotation type. The manager will use this injector for a given object if there are fields in the object's class with annotation of this annotation type.

Parameters

injection

the injector instance