CacheContextSource<javax.interceptor.InvocationContext>public class CacheLookupUtil extends AbstractCacheLookupUtil<javax.interceptor.InvocationContext>
CacheResolver and CacheKeyGenerator for a given method.| Constructor | Description |
|---|---|
CacheLookupUtil() |
| Modifier and Type | Method | Description |
|---|---|---|
protected InternalCacheInvocationContext<? extends java.lang.annotation.Annotation> |
createCacheInvocationContextImpl(StaticCacheInvocationContext<? extends java.lang.annotation.Annotation> staticCacheInvocationContext,
javax.interceptor.InvocationContext invocation) |
|
protected InternalCacheKeyInvocationContext<? extends java.lang.annotation.Annotation> |
createCacheKeyInvocationContextImpl(StaticCacheKeyInvocationContext<? extends java.lang.annotation.Annotation> staticCacheKeyInvocationContext,
javax.interceptor.InvocationContext invocation) |
|
protected javax.cache.annotation.CacheKeyGenerator |
getDefaultCacheKeyGenerator() |
|
protected javax.cache.annotation.CacheResolverFactory |
getDefaultCacheResolverFactory() |
|
protected java.lang.reflect.Method |
getMethod(javax.interceptor.InvocationContext invocation) |
|
protected <T> T |
getObjectByType(java.lang.Class<T> type) |
|
protected java.lang.Class<?> |
getTargetClass(javax.interceptor.InvocationContext invocation) |
createCacheMethodDetails, createCachePutMethodDetails, createCacheRemoveAllMethodDetails, createCacheRemoveEntryMethodDetails, createCacheResultMethodDetails, getAnnotation, getCacheInvocationContext, getCacheKeyGenerator, getCacheKeyInvocationContext, getCacheResolverFactory, getMethodAnnotations, getMethodDetails, getParameterDetails, resolveCacheNameprotected InternalCacheKeyInvocationContext<? extends java.lang.annotation.Annotation> createCacheKeyInvocationContextImpl(StaticCacheKeyInvocationContext<? extends java.lang.annotation.Annotation> staticCacheKeyInvocationContext, javax.interceptor.InvocationContext invocation)
createCacheKeyInvocationContextImpl in class AbstractCacheLookupUtil<javax.interceptor.InvocationContext>protected InternalCacheInvocationContext<? extends java.lang.annotation.Annotation> createCacheInvocationContextImpl(StaticCacheInvocationContext<? extends java.lang.annotation.Annotation> staticCacheInvocationContext, javax.interceptor.InvocationContext invocation)
createCacheInvocationContextImpl in class AbstractCacheLookupUtil<javax.interceptor.InvocationContext>protected java.lang.Class<?> getTargetClass(javax.interceptor.InvocationContext invocation)
getTargetClass in class AbstractCacheLookupUtil<javax.interceptor.InvocationContext>protected java.lang.reflect.Method getMethod(javax.interceptor.InvocationContext invocation)
getMethod in class AbstractCacheLookupUtil<javax.interceptor.InvocationContext>protected <T> T getObjectByType(java.lang.Class<T> type)
getObjectByType in class AbstractCacheLookupUtil<javax.interceptor.InvocationContext>protected javax.cache.annotation.CacheKeyGenerator getDefaultCacheKeyGenerator()
getDefaultCacheKeyGenerator in class AbstractCacheLookupUtil<javax.interceptor.InvocationContext>protected javax.cache.annotation.CacheResolverFactory getDefaultCacheResolverFactory()
getDefaultCacheResolverFactory in class AbstractCacheLookupUtil<javax.interceptor.InvocationContext>Copyright © 2017. All rights reserved.