コード例 #1
0
 @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));
 }
コード例 #2
0
 @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();
 }
コード例 #3
0
 @Override
 public void setData(final IBeanFactory beanFactory) {
   beanFactory.getBean(RepositoryFromCacheProcessor.class).setRepository(this.repository);
   beanFactory.getBean(RepositoryAutoRefresher.class).start();
 }