Class HalRelationCacheConfiguration


  • public class HalRelationCacheConfiguration
    extends Object
    • Field Detail

      • objectMapper

        protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
      • cacheImplementationClass

        protected Class<? extends Cache> cacheImplementationClass
    • Constructor Detail

      • HalRelationCacheConfiguration

        public HalRelationCacheConfiguration()
      • HalRelationCacheConfiguration

        public HalRelationCacheConfiguration​(String configuration)
    • Method Detail

      • getCacheImplementationClass

        public Class<? extends Cache> getCacheImplementationClass()
      • setCacheImplementationClass

        public void setCacheImplementationClass​(Class<?> cacheImplementationClass)
      • setCacheConfigurations

        public void setCacheConfigurations​(Map<Class<?>,​Map<String,​Object>> cacheConfigurations)
      • addCacheConfiguration

        public void addCacheConfiguration​(Class<?> halResourceClass,
                                          Map<String,​Object> cacheConfiguration)
      • parseConfiguration

        protected void parseConfiguration​(String configuration)
      • parseConfiguration

        protected void parseConfiguration​(com.fasterxml.jackson.databind.JsonNode jsonConfiguration)
      • parseCacheImplementationClass

        protected void parseCacheImplementationClass​(com.fasterxml.jackson.databind.JsonNode jsonConfiguration)
      • parseCacheConfigurations

        protected void parseCacheConfigurations​(com.fasterxml.jackson.databind.JsonNode jsonConfiguration)
      • parseCacheConfiguration

        protected void parseCacheConfiguration​(String halResourceClassName,
                                               com.fasterxml.jackson.databind.JsonNode jsonConfiguration)
      • loadClass

        protected Class<?> loadClass​(String className)