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
Several enhancements with respect to CachingMetadataReaderFactory handling.
Added "clearCache()" method to CachingMetadataReaderFactory, for clearing the metadata cache once not needed anymore - in particular when the MetadataReaderFactory instance is long-lived. Also added "setMetadataReaderFactory" method to ClassPathScanningCandidateComponentProvider, analogous to ConfigurationClassPostProcessor.
Copy file name to clipboardExpand all lines: spring-context/src/main/java/org/springframework/context/annotation/AnnotationConfigApplicationContext.java
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -153,4 +153,10 @@ public void scan(String... basePackages) {
Copy file name to clipboardExpand all lines: spring-context/src/main/java/org/springframework/context/annotation/ClassPathScanningCandidateComponentProvider.java
0 commit comments