Class HalRelationCacheConfiguration


  • public class HalRelationCacheConfiguration
    extends java.lang.Object
    • Field Detail

      • CONFIG_CACHE_IMPLEMENTATION

        public static final java.lang.String CONFIG_CACHE_IMPLEMENTATION
        See Also:
        Constant Field Values
      • objectMapper

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

        protected java.lang.Class<? extends Cache> cacheImplementationClass
      • cacheConfigurations

        protected java.util.Map<java.lang.Class<?>,​java.util.Map<java.lang.String,​java.lang.Object>> cacheConfigurations
    • Constructor Detail

      • HalRelationCacheConfiguration

        public HalRelationCacheConfiguration()
      • HalRelationCacheConfiguration

        public HalRelationCacheConfiguration​(java.lang.String configuration)
    • Method Detail

      • getCacheImplementationClass

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

        public void setCacheImplementationClass​(java.lang.Class<?> cacheImplementationClass)
      • getCacheConfigurations

        public java.util.Map<java.lang.Class<?>,​java.util.Map<java.lang.String,​java.lang.Object>> getCacheConfigurations()
      • setCacheConfigurations

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

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

        protected void parseConfiguration​(java.lang.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​(java.lang.String halResourceClassName,
                                               com.fasterxml.jackson.databind.JsonNode jsonConfiguration)
      • loadClass

        protected java.lang.Class<?> loadClass​(java.lang.String className)