@Override public void retrieveData(final IStateService stateService, final IBeanFactory beanFactory) { // This is the first access to repository, so execute the // command defined by user new LoadRepositoryCommandExecutor() .execute(beanFactory.getBean(IStateRepository.class).getCommandBeforeAccessRepository()); this.repository = stateService.retrieveRepositoryCache(); }
@Override public void retrieveData(final IStateService stateService, final IBeanFactory beanFactory) { this.radios = stateService.retrieveRadioCache(); }