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 org.codehaus.jackson.map.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,
org.codehaus.jackson.JsonNode jsonConfiguration) |
protected void |
parseCacheConfigurations(org.codehaus.jackson.JsonNode jsonConfiguration) |
protected void |
parseCacheImplementationClass(org.codehaus.jackson.JsonNode jsonConfiguration) |
protected void |
parseConfiguration(org.codehaus.jackson.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 org.codehaus.jackson.map.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(org.codehaus.jackson.JsonNode jsonConfiguration)
protected void parseCacheImplementationClass(org.codehaus.jackson.JsonNode jsonConfiguration)
protected void parseCacheConfigurations(org.codehaus.jackson.JsonNode jsonConfiguration)
protected void parseCacheConfiguration(String halResourceClassName, org.codehaus.jackson.JsonNode jsonConfiguration)
Copyright © 2018. All rights reserved.