open class DefaultJCacheOperationSource : AnnotationJCacheOperationSource, BeanFactoryAware, InitializingBean, SmartInitializingSingleton
The default JCacheOperationSource implementation delegating default operations to configurable services with sensible defaults when not present.
Author
Stephane Nicoll
Since
4.1
DefaultJCacheOperationSource()
The default JCacheOperationSource implementation delegating default operations to configurable services with sensible defaults when not present. |
open fun afterPropertiesSet(): Unit |
|
open fun afterSingletonsInstantiated(): Unit |
|
open fun getCacheManager(): CacheManager
Return the specified cache manager to use, if any. |
|
open fun getCacheResolver(): CacheResolver
Return the specified cache resolver to use, if any. |
|
open fun getExceptionCacheResolver(): CacheResolver
Return the specified exception cache resolver to use, if any. |
|
open fun getKeyGenerator(): KeyGenerator
Return the specified key generator to use, if any. |
|
open fun setBeanFactory(beanFactory: BeanFactory): Unit |
|
open fun setCacheManager(cacheManager: CacheManager): Unit
Set the default CacheManager to use to lookup cache by name. Only mandatory if the CacheResolver have not been set. |
|
open fun setCacheResolver(cacheResolver: CacheResolver): Unit
Set the CacheResolver to resolve regular caches. If none is set, a default implementation using the specified cache manager will be used. |
|
open fun setExceptionCacheResolver(exceptionCacheResolver: CacheResolver): Unit
Set the CacheResolver to resolve exception caches. If none is set, a default implementation using the specified cache manager will be used. |
|
open fun setKeyGenerator(keyGenerator: KeyGenerator): Unit
Set the default KeyGenerator. If none is set, a SimpleKeyGenerator honoring the JSR-107 javax.cache.annotation.CacheKey and javax.cache.annotation.CacheValue will be used. |