You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spring-beans/src/main/java/org/springframework/beans/factory/config/InstantiationAwareBeanPostProcessor.java
+6-4Lines changed: 6 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
/*
2
-
* Copyright 2002-2018 the original author or authors.
2
+
* Copyright 2002-2019 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -54,8 +54,9 @@ public interface InstantiationAwareBeanPostProcessor extends BeanPostProcessor {
54
54
* will be short-circuited. The only further processing applied is the
55
55
* {@link #postProcessAfterInitialization} callback from the configured
56
56
* {@link BeanPostProcessor BeanPostProcessors}.
57
-
* <p>This callback will only be applied to bean definitions with a bean class.
58
-
* In particular, it will not be applied to beans with a factory method.
57
+
* <p>This callback will be applied to bean definitions with their bean class,
58
+
* as well as to factory-method definitions in which case the returned bean type
59
+
* will be passed in here.
59
60
* <p>Post-processors may implement the extended
60
61
* {@link SmartInstantiationAwareBeanPostProcessor} interface in order
61
62
* to predict the type of the bean object that they are going to return here.
@@ -66,7 +67,8 @@ public interface InstantiationAwareBeanPostProcessor extends BeanPostProcessor {
66
67
* or {@code null} to proceed with default instantiation
67
68
* @throws org.springframework.beans.BeansException in case of errors
0 commit comments