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