Is there a reason to use the UiContextRefreshedCallback approach instead of just making this @Autowired?