Class AxelorJCacheManager

java.lang.Object
org.apache.shiro.cache.jcache.JCacheManager
org.apache.shiro.cache.jcache.AxelorJCacheManager
All Implemented Interfaces:
org.apache.shiro.cache.CacheManager, org.apache.shiro.lang.util.Destroyable, org.apache.shiro.lang.util.Initializable

public class AxelorJCacheManager extends org.apache.shiro.cache.jcache.JCacheManager
Shiro JCache Manager where we can pass configuration to created caches.
  • Constructor Details

    • AxelorJCacheManager

      @Inject public AxelorJCacheManager(@Named("shiro") javax.cache.configuration.Configuration<Object,Object> config, @Named("shiro") javax.cache.CacheManager cacheManager)
  • Method Details

    • getCache

      public <K, V> org.apache.shiro.cache.Cache<K,V> getCache(String name) throws javax.cache.CacheException
      Specified by:
      getCache in interface org.apache.shiro.cache.CacheManager
      Overrides:
      getCache in class org.apache.shiro.cache.jcache.JCacheManager
      Throws:
      javax.cache.CacheException
    • getConfig

      public <K, V> javax.cache.configuration.Configuration<K,V> getConfig()
    • onAppShutdownEvent

      protected void onAppShutdownEvent(ShutdownEvent event)