Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-12466

JCache annotations stop working after CachingProvider is closed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 12.0.0.Final
    • 11.0.4.Final, 12.0.0.Final
    • JCache
    • None

      Our JCache annotation interceptors (e.g. CacheResultInterceptor for @CacheResult cache a reference to the default cache manager in DefaultCacheResolver.

      This reference becomes invalid when the application closes the default CacheManager or the CachingProvider. But the JCache specification says after the cache manager or caching provider is closed, the CachingProvider.getCacheManager() method should return a new manager instance, and the TCK tests rely on this.

              dberinde@redhat.com Dan Berindei (Inactive)
              dberinde@redhat.com Dan Berindei (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: