"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "spring-web/src/main/java/org/springframework/web/context/support/SpringBeanAutowiringSupport.java" between
spring-framework-5.3.7.tar.gz and spring-framework-5.3.8.tar.gz

About: Spring Framework is an application framework for the Java platform and .NET Framework. Community edition.

SpringBeanAutowiringSupport.java  (spring-framework-5.3.7):SpringBeanAutowiringSupport.java  (spring-framework-5.3.8)
skipping to change at line 89 skipping to change at line 89
WebApplicationContext cc = ContextLoader.getCurrentWebApplication Context(); WebApplicationContext cc = ContextLoader.getCurrentWebApplication Context();
if (cc != null) { if (cc != null) {
AutowiredAnnotationBeanPostProcessor bpp = new AutowiredA nnotationBeanPostProcessor(); AutowiredAnnotationBeanPostProcessor bpp = new AutowiredA nnotationBeanPostProcessor();
bpp.setBeanFactory(cc.getAutowireCapableBeanFactory()); bpp.setBeanFactory(cc.getAutowireCapableBeanFactory());
bpp.processInjection(target); bpp.processInjection(target);
} }
else { else {
if (logger.isWarnEnabled()) { if (logger.isWarnEnabled()) {
logger.warn("Current WebApplicationContext is not available for processing of " + logger.warn("Current WebApplicationContext is not available for processing of " +
ClassUtils.getShortName(target.ge tClass()) + ": " + ClassUtils.getShortName(target.ge tClass()) + ": " +
"Make sure this class gets constr ucted in a Spring web application after the" + "Make sure this class gets constr ucted in a Spring web application after the " +
"Spring WebApplicationContext has been initialized. Proceeding without injection."); "Spring WebApplicationContext has been initialized. Proceeding without injection.");
} }
} }
} }
/** /**
* Process {@code @Autowired} injection for the given target object, * Process {@code @Autowired} injection for the given target object,
* based on the current root web application context as stored in the Ser vletContext. * based on the current root web application context as stored in the Ser vletContext.
* <p>Intended for use as a delegate. * <p>Intended for use as a delegate.
* @param target the target object to process * @param target the target object to process
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)