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

java.lang.Object
  extended by org.camunda.bpm.engine.rest.hal.cache.HalRelationCacheBootstrap
All Implemented Interfaces:
EventListener, javax.servlet.ServletContextListener

public class HalRelationCacheBootstrap
extends Object
implements javax.servlet.ServletContextListener


Field Summary
static String CONTEXT_PARAM_NAME
           
protected  com.fasterxml.jackson.databind.ObjectMapper objectMapper
           
 
Constructor Summary
HalRelationCacheBootstrap()
           
 
Method Summary
protected  void configureCache(Cache cache, Map<String,Object> cacheConfiguration)
           
protected  void configureCache(Cache cache, String property, Object value)
           
 void configureCaches(HalRelationCacheConfiguration configuration)
           
 void configureCaches(String contextParameter)
           
 void contextDestroyed(javax.servlet.ServletContextEvent sce)
           
 void contextInitialized(javax.servlet.ServletContextEvent sce)
           
protected  Cache createCache(Class<? extends Cache> cacheClass, Map<String,Object> cacheConfiguration)
           
protected  Cache createCacheInstance(Class<? extends Cache> cacheClass)
           
protected  void registerCache(Class<?> halResourceClass, Cache cache)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONTEXT_PARAM_NAME

public static final String CONTEXT_PARAM_NAME
See Also:
Constant Field Values

objectMapper

protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
Constructor Detail

HalRelationCacheBootstrap

public HalRelationCacheBootstrap()
Method Detail

contextInitialized

public void contextInitialized(javax.servlet.ServletContextEvent sce)
Specified by:
contextInitialized in interface javax.servlet.ServletContextListener

contextDestroyed

public void contextDestroyed(javax.servlet.ServletContextEvent sce)
Specified by:
contextDestroyed in interface javax.servlet.ServletContextListener

configureCaches

public void configureCaches(String contextParameter)

configureCaches

public void configureCaches(HalRelationCacheConfiguration configuration)

createCache

protected Cache createCache(Class<? extends Cache> cacheClass,
                            Map<String,Object> cacheConfiguration)

configureCache

protected void configureCache(Cache cache,
                              Map<String,Object> cacheConfiguration)

createCacheInstance

protected Cache createCacheInstance(Class<? extends Cache> cacheClass)

configureCache

protected void configureCache(Cache cache,
                              String property,
                              Object value)

registerCache

protected void registerCache(Class<?> halResourceClass,
                             Cache cache)


Copyright © 2016 camunda services GmbH. All rights reserved.