Autowiring has five different modes:
no: no autowire
byName: Autowiring that can be done by property name
byType: property type as autowired
constructor: It is similar to byType and it is property is in constructor
autodetect: Spring is allowed to select autowiring from byType or constructor