org.camunda.bpm.engine.rest.hal.cache
Class HalRelationCacheConfiguration

java.lang.Object
  extended by org.camunda.bpm.engine.rest.hal.cache.HalRelationCacheConfiguration

public class HalRelationCacheConfiguration
extends Object


Field Summary
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
HalRelationCacheConfiguration()
           
HalRelationCacheConfiguration(String configuration)
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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

cacheImplementationClass

protected Class<? extends Cache> cacheImplementationClass

cacheConfigurations

protected Map<Class<?>,Map<String,Object>> cacheConfigurations
Constructor Detail

HalRelationCacheConfiguration

public HalRelationCacheConfiguration()

HalRelationCacheConfiguration

public HalRelationCacheConfiguration(String configuration)
Method Detail

getCacheImplementationClass

public Class<? extends Cache> getCacheImplementationClass()

setCacheImplementationClass

public void setCacheImplementationClass(Class<?> cacheImplementationClass)

getCacheConfigurations

public Map<Class<?>,Map<String,Object>> getCacheConfigurations()

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)

loadClass

protected Class<?> loadClass(String className)


Copyright © 2016 camunda services GmbH. All rights reserved.