@Override public void setData(final IBeanFactory beanFactory) { if (this.radios != null) { beanFactory.getBean(RadioHandler.class).setRadios(this.radios); } beanFactory .getBean(INavigationHandler.class) .refreshView(beanFactory.getBean("radioNavigationView", INavigationView.class)); }
@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 setData(final IBeanFactory beanFactory) { beanFactory.getBean(RepositoryFromCacheProcessor.class).setRepository(this.repository); beanFactory.getBean(RepositoryAutoRefresher.class).start(); }