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 Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringprotected com.fasterxml.jackson.databind.ObjectMapper -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidconfigureCache(Cache cache, String property, Object value) protected voidconfigureCache(Cache cache, Map<String, Object> cacheConfiguration) voidconfigureCaches(String contextParameter) voidconfigureCaches(HalRelationCacheConfiguration configuration) voidcontextDestroyed(jakarta.servlet.ServletContextEvent sce) voidcontextInitialized(jakarta.servlet.ServletContextEvent sce) protected Cacheprotected CachecreateCacheInstance(Class<? extends Cache> cacheClass) protected voidregisterCache(Class<?> halResourceClass, Cache cache)
-
Field Details
-
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:
contextInitializedin interfacejakarta.servlet.ServletContextListener
-
contextDestroyed
public void contextDestroyed(jakarta.servlet.ServletContextEvent sce) - Specified by:
contextDestroyedin interfacejakarta.servlet.ServletContextListener
-
configureCaches
-
configureCaches
-
createCache
-
configureCache
-
createCacheInstance
-
configureCache
-
registerCache
-