public ClassPathControllerAndWidgetScanner(
     List<WebModuleConfigurer> webModuleConfigurers, ApplicationContext applicationContext) {
   super();
   this.webModuleConfigurers = webModuleConfigurers;
   this.applicationContext = applicationContext;
   this.defaultListableBeanFactory =
       (DefaultListableBeanFactory) applicationContext.getAutowireCapableBeanFactory();
   this.classLoader = applicationContext.getClassLoader();
 }
Exemplo n.º 2
0
 public ClassLoader getClassLoader() {
   return applicationContext.getClassLoader();
 }