public class BroadleafThymeleaf3CacheManager
extends org.thymeleaf.cache.AbstractCacheManager
AbstractCacheManager to use BroadleafThymeleaf3ICache for templates.
This class heavily leverages StandardCacheManager functionality. Only the
initializeTemplateCache() method should behave differently by instantiating a BLCICache instead of a StandardCache.| Modifier and Type | Field and Description |
|---|---|
protected org.broadleafcommerce.common.web.cache.BLCICacheExtensionManager |
extensionManager |
protected org.thymeleaf.cache.StandardCacheManager |
standardCacheManager |
| Constructor and Description |
|---|
BroadleafThymeleaf3CacheManager() |
| Modifier and Type | Method and Description |
|---|---|
protected org.thymeleaf.cache.ICache<org.thymeleaf.cache.ExpressionCacheKey,Object> |
initializeExpressionCache()
This method was changed just to use StandardCacheManager methods and should function the same
|
protected org.thymeleaf.cache.ICache<org.thymeleaf.cache.TemplateCacheKey,org.thymeleaf.engine.TemplateModel> |
initializeTemplateCache()
This method was changed just to return a BLCICache, instead of a StandardCache
|
protected org.broadleafcommerce.common.web.cache.BLCICacheExtensionManager extensionManager
protected org.thymeleaf.cache.StandardCacheManager standardCacheManager
protected org.thymeleaf.cache.ICache<org.thymeleaf.cache.TemplateCacheKey,org.thymeleaf.engine.TemplateModel> initializeTemplateCache()
initializeTemplateCache in class org.thymeleaf.cache.AbstractCacheManagerprotected org.thymeleaf.cache.ICache<org.thymeleaf.cache.ExpressionCacheKey,Object> initializeExpressionCache()
initializeExpressionCache in class org.thymeleaf.cache.AbstractCacheManagerCopyright © 2021. All rights reserved.