Class HalRelationCacheBootstrap

  • All Implemented Interfaces:
    EventListener, javax.servlet.ServletContextListener

    public class HalRelationCacheBootstrap
    extends Object
    implements javax.servlet.ServletContextListener
    • Field Detail

      • 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)
      • 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)