Class HalRelationCacheBootstrap

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

public class HalRelationCacheBootstrap extends Object implements jakarta.servlet.ServletContextListener
  • Field Details

    • CONTEXT_PARAM_NAME

      public static final String CONTEXT_PARAM_NAME
      See Also:
    • objectMapper

      protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
  • Constructor Details

    • HalRelationCacheBootstrap

      public HalRelationCacheBootstrap()
  • Method Details

    • contextInitialized

      public void contextInitialized(jakarta.servlet.ServletContextEvent sce)
      Specified by:
      contextInitialized in interface jakarta.servlet.ServletContextListener
    • contextDestroyed

      public void contextDestroyed(jakarta.servlet.ServletContextEvent sce)
      Specified by:
      contextDestroyed in interface jakarta.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)