According to @Autowired javadoc:
Marks a constructor, field, setter method or config method as to be autowired by Spring\'s dependency injection facili
@Autowired annotation can be used with constructor, setter method or just any other method.
Whenever Spring finds @Autowired annotation it will try to find beans matching to method parameters and will invoke that method. If multiple methods (setter or non-setter) have @Autowired annotation, all will be invoked by Spring after bean instantiation.