Class HalRelationCacheConfiguration
- java.lang.Object
-
- org.camunda.bpm.engine.rest.hal.cache.HalRelationCacheConfiguration
-
public class HalRelationCacheConfiguration extends Object
-
-
Field Summary
Fields Modifier and Type Field 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 Summary
Constructors Constructor Description HalRelationCacheConfiguration()
HalRelationCacheConfiguration(String configuration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Field Detail
-
CONFIG_CACHE_IMPLEMENTATION
public static final String CONFIG_CACHE_IMPLEMENTATION
- See Also:
- Constant Field Values
-
CONFIG_CACHES
public static final String CONFIG_CACHES
- See Also:
- Constant Field Values
-
objectMapper
protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
-
-
Constructor Detail
-
HalRelationCacheConfiguration
public HalRelationCacheConfiguration()
-
HalRelationCacheConfiguration
public HalRelationCacheConfiguration(String configuration)
-
-
Method Detail
-
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)
-
-