From Spring 4.3 version, dependency will be considered automatically without adding @Autowired. But @Autowired is mandatory if multiple constructors are used.