Class HalRelationCacheConfiguration
- java.lang.Object
-
- org.camunda.bpm.engine.rest.hal.cache.HalRelationCacheConfiguration
-
public class HalRelationCacheConfiguration extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Map<java.lang.Class<?>,java.util.Map<java.lang.String,java.lang.Object>>
cacheConfigurations
protected java.lang.Class<? extends Cache>
cacheImplementationClass
static java.lang.String
CONFIG_CACHE_IMPLEMENTATION
static java.lang.String
CONFIG_CACHES
protected com.fasterxml.jackson.databind.ObjectMapper
objectMapper
-
Constructor Summary
Constructors Constructor Description HalRelationCacheConfiguration()
HalRelationCacheConfiguration(java.lang.String configuration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addCacheConfiguration(java.lang.Class<?> halResourceClass, java.util.Map<java.lang.String,java.lang.Object> cacheConfiguration)
java.util.Map<java.lang.Class<?>,java.util.Map<java.lang.String,java.lang.Object>>
getCacheConfigurations()
java.lang.Class<? extends Cache>
getCacheImplementationClass()
protected java.lang.Class<?>
loadClass(java.lang.String className)
protected void
parseCacheConfiguration(java.lang.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(java.lang.String configuration)
void
setCacheConfigurations(java.util.Map<java.lang.Class<?>,java.util.Map<java.lang.String,java.lang.Object>> cacheConfigurations)
void
setCacheImplementationClass(java.lang.Class<?> cacheImplementationClass)
-
-
-
Field Detail
-
CONFIG_CACHE_IMPLEMENTATION
public static final java.lang.String CONFIG_CACHE_IMPLEMENTATION
- See Also:
- Constant Field Values
-
CONFIG_CACHES
public static final java.lang.String CONFIG_CACHES
- 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
-
-
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)
-
-