-
Notifications
You must be signed in to change notification settings - Fork 41.6k
Description
Please make org.springframework.boot.autoconfigure.cache.JCachePropertiesCustomizer public, so the properties that are used to initialize the CacheManager can be customized by an application.
I would like to use the property replacement feature of EhCache in the configuration XML file.
At the moment this is not possible because the properties supplied when creating the CacheManager in JCacheCacheConfiguration#createCacheManager are empty and there seems to be no way to supply additional properties.
The code in JCacheCacheConfiguration#createCacheManagerProperties is supposed to create these properties with the help of JCachePropertiesCustomizer instances. But JCachePropertiesCustomizer is not public so one has no possibility to supply additional props that may be used in the XML config file.