public class HalRelationCacheConfiguration extends Object
Modifier and Type | Field and Description |
---|---|
protected Map<Class<?>,Map<String,Object>> |
cacheConfigurations |
protected Class<? extends Cache> |
cacheImplementationClass |
static String |
CONFIG_CACHE_IMPLEMENTATION |
static String |
CONFIG_CACHES |
protected com.fasterxml.jackson.databind.ObjectMapper |
objectMapper |
Constructor and Description |
---|
HalRelationCacheConfiguration() |
HalRelationCacheConfiguration(String configuration) |
Modifier and Type | Method and Description |
---|---|
void |
addCacheConfiguration(Class<?> halResourceClass,
Map<String,Object> cacheConfiguration) |
Map<Class<?>,Map<String,Object>> |
getCacheConfigurations() |
Class<? extends Cache> |
getCacheImplementationClass() |
protected Class<?> |
loadClass(String className) |
protected void |
parseCacheConfiguration(String halResourceClassName,
com.fasterxml.jackson.databind.JsonNode jsonConfiguration) |
protected void |
parseCacheConfigurations(com.fasterxml.jackson.databind.JsonNode jsonConfiguration) |
protected void |
parseCacheImplementationClass(com.fasterxml.jackson.databind.JsonNode jsonConfiguration) |
protected void |
parseConfiguration(com.fasterxml.jackson.databind.JsonNode jsonConfiguration) |
protected void |
parseConfiguration(String configuration) |
void |
setCacheConfigurations(Map<Class<?>,Map<String,Object>> cacheConfigurations) |
void |
setCacheImplementationClass(Class<?> cacheImplementationClass) |
public static final String CONFIG_CACHE_IMPLEMENTATION
public static final String CONFIG_CACHES
protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
public HalRelationCacheConfiguration()
public HalRelationCacheConfiguration(String configuration)
public void setCacheImplementationClass(Class<?> cacheImplementationClass)
public void setCacheConfigurations(Map<Class<?>,Map<String,Object>> cacheConfigurations)
public void addCacheConfiguration(Class<?> halResourceClass, Map<String,Object> cacheConfiguration)
protected void parseConfiguration(String configuration)
protected void parseConfiguration(com.fasterxml.jackson.databind.JsonNode jsonConfiguration)
protected void parseCacheImplementationClass(com.fasterxml.jackson.databind.JsonNode jsonConfiguration)
protected void parseCacheConfigurations(com.fasterxml.jackson.databind.JsonNode jsonConfiguration)
protected void parseCacheConfiguration(String halResourceClassName, com.fasterxml.jackson.databind.JsonNode jsonConfiguration)
Copyright © 2022. All rights reserved.