Autowired service dependencies using spring