jargon

Design patterns·Wiring: injection, containers and lifetimes

nothing in the code says where the implementation came from, and the answer is that a scan found exactly one.

Autowiring

Also calledauto-wiring, automatic registration, component scanning

Letting a container work out which implementation satisfies a dependency, usually by scanning for types that fit. It removes a large amount of registration boilerplate and removes the ability to answer 'where does this come from' by reading. The characteristic failure is a second implementation appearing and the resolution becoming ambiguous — or worse, unambiguous and wrong.

Commonly confused with