File tree 1 file changed +6
-0
lines changed
spring-shell-autoconfigure/src/main/java/org/springframework/shell/boot
1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 16
16
17
17
package org .springframework .shell .boot ;
18
18
19
+ import org .springframework .boot .LazyInitializationExcludeFilter ;
19
20
import org .springframework .boot .autoconfigure .AutoConfiguration ;
20
21
import org .springframework .context .ApplicationContext ;
21
22
import org .springframework .context .annotation .Bean ;
@@ -56,4 +57,9 @@ public MethodTargetRegistrar standardMethodTargetResolver(ApplicationContext app
56
57
CommandRegistration .BuilderSupplier builder ) {
57
58
return new StandardMethodTargetRegistrar (applicationContext , builder );
58
59
}
60
+
61
+ @ Bean
62
+ public static LazyInitializationExcludeFilter valueProviderLazyInitializationExcludeFilter (){
63
+ return LazyInitializationExcludeFilter .forBeanTypes (ValueProvider .class );
64
+ }
59
65
}
You can’t perform that action at this time.
0 commit comments