Skip BeanInfo class search by default

Set `CachedIntrospectionResults.IGNORE_BEANINFO_PROPERTY_NAME` by
default to improve startup performance. The `spring.beaninfo.ignore`
property can be set in `application.properties` if BeanInfo classes
should be searched.

Fixes gh-4390
This commit is contained in:
Phillip Webb
2015-11-04 23:41:52 -08:00
parent d88210f626
commit c94cb1f3d1
4 changed files with 46 additions and 0 deletions

View File

@@ -58,6 +58,9 @@ content into your application; rather pick only the properties that you need.
# AUTO-CONFIGURATION
spring.autoconfigure.exclude= # Auto-configuration classes to exclude.
# SPRING CORE
spring.beaninfo.ignore=true # Skip search of BeanInfo classes.
# SPRING CACHE ({sc-spring-boot-autoconfigure}/cache/CacheProperties.{sc-ext}[CacheProperties])
spring.cache.cache-names= # Comma-separated list of cache names to create if supported by the underlying cache manager.
spring.cache.ehcache.config= # The location of the configuration file to use to initialize EhCache.