JCacheOperationSource interface that reads
the JSR-107 CacheResult, CachePut, CacheRemove and
CacheRemoveAll annotations.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private int | |
| protected CachePutOperation | |
| protected CacheRemoveAllOperation | |
| protected CacheRemoveOperation | |
| protected CacheResultOperation | |
| private <A extends Annotation> CacheMethodDetails | |
| protected String | |
| protected CacheResolverFactory | determineCacheResolverFactory(CacheDefaults defaults, Class<? extends CacheResolverFactory> candidate)
|
| protected KeyGenerator | |
| protected JCacheOperation | findCacheOperation(Method
the method to retrieve the operation for method, Class<?> the target class targetType)Implements abstract org. Subclasses need to implement this to return the caching operation for the given method, if any. |
| protected String | Returns: the default cache name, according to JSR-107the annotated method method)Generate a default cache name for the specified |
| protected abstract <T> T | |
| protected CacheDefaults | |
| protected CacheResolver | |
| protected abstract CacheResolver | |
| protected abstract CacheResolver | |
| protected abstract KeyGenerator | |
| protected CacheResolver |
| AnnotationJCacheOperationSource | back to summary |
|---|---|
| public AnnotationJCacheOperationSource() | |
| countNonNull | back to summary |
|---|---|
| private int countNonNull(Object... instances) | |
| createCachePutOperation | back to summary |
|---|---|
| protected CachePutOperation createCachePutOperation(Method method, CacheDefaults defaults, CachePut ann) | |
| createCacheRemoveAllOperation | back to summary |
|---|---|
| protected CacheRemoveAllOperation createCacheRemoveAllOperation(Method method, CacheDefaults defaults, CacheRemoveAll ann) | |
| createCacheRemoveOperation | back to summary |
|---|---|
| protected CacheRemoveOperation createCacheRemoveOperation(Method method, CacheDefaults defaults, CacheRemove ann) | |
| createCacheResultOperation | back to summary |
|---|---|
| protected CacheResultOperation createCacheResultOperation(Method method, CacheDefaults defaults, CacheResult ann) | |
| createMethodDetails | back to summary |
|---|---|
| private <A extends Annotation> CacheMethodDetails | |
| determineCacheName | back to summary |
|---|---|
| protected String determineCacheName(Method method, CacheDefaults defaults, String candidate) | |
| determineCacheResolverFactory | back to summary |
|---|---|
protected CacheResolverFactory determineCacheResolverFactory(CacheDefaults defaults, Class<? extends CacheResolverFactory> candidate)
| |
| determineKeyGenerator | back to summary |
|---|---|
| protected KeyGenerator determineKeyGenerator(CacheDefaults defaults, Class<? extends CacheKeyGenerator> candidate) | |
| findCacheOperation | back to summary |
|---|---|
| protected JCacheOperation Implements abstract org. Subclasses need to implement this to return the caching operation for the given method, if any.
| |
| generateDefaultCacheName | back to summary |
|---|---|
| protected String generateDefaultCacheName(Method method) Generate a default cache name for the specified | |
| getBean | back to summary |
|---|---|
| protected abstract <T> T getBean(Class<T> type) Locate or create an instance of the specified cache strategy
| |
| getCacheDefaults | back to summary |
|---|---|
protected CacheDefaults getCacheDefaults(Method method, Class<?> targetType)
| |
| getCacheResolver | back to summary |
|---|---|
| protected CacheResolver getCacheResolver(CacheResolverFactory factory, CacheMethodDetails<?> details) | |
| getDefaultCacheResolver | back to summary |
|---|---|
| protected abstract CacheResolver getDefaultCacheResolver() Return the default | |
| getDefaultExceptionCacheResolver | back to summary |
|---|---|
| protected abstract CacheResolver getDefaultExceptionCacheResolver() Return the default exception | |
| getDefaultKeyGenerator | back to summary |
|---|---|
| protected abstract KeyGenerator getDefaultKeyGenerator() Return the default | |
| getExceptionCacheResolver | back to summary |
|---|---|
| protected CacheResolver getExceptionCacheResolver(CacheResolverFactory factory, CacheMethodDetails<CacheResult> details) | |