Class EhcacheConfiguration


  • @Configuration
    public class EhcacheConfiguration
    extends Object
    • Constructor Detail

      • EhcacheConfiguration

        public EhcacheConfiguration()
    • Method Detail

      • cacheManager

        @Bean
        @Primary
        public org.springframework.cache.ehcache.EhCacheCacheManager cacheManager​(net.sf.ehcache.CacheManager cacheManager)
      • ehcache

        @Bean
        public org.springframework.beans.factory.FactoryBean ehcache​(@Value("${n2o.config.ehcache.resource}")
                                                                     org.springframework.core.io.Resource path)
                                                              throws MalformedURLException
        Throws:
        MalformedURLException
      • cacheStatisticService

        @Bean
        public net.n2oapp.criteria.api.CollectionPageService cacheStatisticService​(CacheTuner tuner)
      • cacheConfigService

        @Bean
        public net.n2oapp.criteria.api.CollectionPageService cacheConfigService​(CacheTuner tuner)
      • cacheTuner

        @Bean
        public CacheTuner cacheTuner​(org.springframework.cache.CacheManager cacheManager,
                                     @Value("${n2o.config.ehcache.monitoring.on}")
                                     String monitoring)
      • n2oMemoryService

        @Bean
        public net.n2oapp.criteria.api.CollectionPageService n2oMemoryService()