public class HalRelationCacheBootstrap extends Object implements javax.servlet.ServletContextListener
| Modifier and Type | Field and Description | 
|---|---|
static String | 
CONTEXT_PARAM_NAME  | 
protected com.fasterxml.jackson.databind.ObjectMapper | 
objectMapper  | 
| Constructor and Description | 
|---|
HalRelationCacheBootstrap()  | 
| Modifier and Type | Method and Description | 
|---|---|
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)  | 
public static final String CONTEXT_PARAM_NAME
protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
public void contextInitialized(javax.servlet.ServletContextEvent sce)
contextInitialized in interface javax.servlet.ServletContextListenerpublic void contextDestroyed(javax.servlet.ServletContextEvent sce)
contextDestroyed in interface javax.servlet.ServletContextListenerpublic void configureCaches(String contextParameter)
public void configureCaches(HalRelationCacheConfiguration configuration)
protected Cache createCache(Class<? extends Cache> cacheClass, Map<String,Object> cacheConfiguration)
Copyright © 2017. All rights reserved.