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