Interface TemplateCacheKeyResolverService
- All Known Implementing Classes:
SimpleCacheKeyResolver
public interface TemplateCacheKeyResolverService
Used to build a cacheKey for caching templates.
- Author:
- Brian Polster (bpolster)
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionresolveCacheKey(String tagName, Map<String, String> tagAttributes, String documentName, Integer lineNumber, BroadleafTemplateContext context) Takes in the Thymeleaf arguments, element, and templateName.
-
Field Details
-
CACHE_KEY_ATTRIBUTE
- See Also:
-
NONE_CACHE_VALUE
- See Also:
-
-
Method Details
-
resolveCacheKey
String resolveCacheKey(String tagName, Map<String, String> tagAttributes, String documentName, Integer lineNumber, BroadleafTemplateContext context) Takes in the Thymeleaf arguments, element, and templateName. Returns the cacheKey by which this template can be cached.- Parameters:
tagName-tagAttributes-documentName-lineNumber-context-- Returns:
- See Also:
-