LDEV-4440 Switch controllers to use @Autowired service beans
Also in cases when service bean in Controller has the same name as in
applicati… Show more
Also in cases when service bean in Controller has the same name as in
applicati… Show more
LDEV-4440 Switch controllers to use @Autowired service beansAlso in cases when service bean in Controller has the same name as inapplicationContext, @Qualifier(..) can be removed. Which was done almostin all cases, except for messageService due to "messageService" nameseems to be more preferable than adminMessageService,centralMessageService and so on. Thus they were kept as before: @Autowired @Qualifier("centralMessageService") private MessageService messageService;
Show less