@Singleton public class CacheLookupUtil extends org.jsr107.ri.annotations.AbstractCacheLookupUtil<MethodInvocation>
Constructor and Description |
---|
CacheLookupUtil(ObjectLocator objectLocator,
javax.cache.annotation.CacheKeyGenerator defaultCacheKeyGenerator,
javax.cache.annotation.CacheResolverFactory defaultCacheResolverFactory)
Single constructor of this class.
|
Modifier and Type | Method and Description |
---|---|
protected org.jsr107.ri.annotations.InternalCacheInvocationContext<? extends java.lang.annotation.Annotation> |
createCacheInvocationContextImpl(org.jsr107.ri.annotations.StaticCacheInvocationContext<? extends java.lang.annotation.Annotation> staticCacheInvocationContext,
MethodInvocation invocation) |
protected org.jsr107.ri.annotations.InternalCacheKeyInvocationContext<? extends java.lang.annotation.Annotation> |
createCacheKeyInvocationContextImpl(org.jsr107.ri.annotations.StaticCacheKeyInvocationContext<? extends java.lang.annotation.Annotation> staticCacheKeyInvocationContext,
MethodInvocation invocation) |
protected javax.cache.annotation.CacheKeyGenerator |
getDefaultCacheKeyGenerator() |
protected javax.cache.annotation.CacheResolverFactory |
getDefaultCacheResolverFactory() |
protected java.lang.reflect.Method |
getMethod(MethodInvocation invocation) |
protected <T> T |
getObjectByType(java.lang.Class<T> type) |
protected java.lang.Class<?> |
getTargetClass(MethodInvocation invocation) |
createCacheMethodDetails, createCachePutMethodDetails, createCacheRemoveAllMethodDetails, createCacheRemoveEntryMethodDetails, createCacheResultMethodDetails, getAnnotation, getCacheInvocationContext, getCacheKeyGenerator, getCacheKeyInvocationContext, getCacheResolverFactory, getMethodAnnotations, getMethodDetails, getParameterDetails, resolveCacheName
public CacheLookupUtil(ObjectLocator objectLocator, javax.cache.annotation.CacheKeyGenerator defaultCacheKeyGenerator, javax.cache.annotation.CacheResolverFactory defaultCacheResolverFactory)
defaultCacheKeyGenerator
- the default CacheKeyGeneratordefaultCacheResolverFactory
- the default CacheResolverFactoryprotected org.jsr107.ri.annotations.InternalCacheKeyInvocationContext<? extends java.lang.annotation.Annotation> createCacheKeyInvocationContextImpl(org.jsr107.ri.annotations.StaticCacheKeyInvocationContext<? extends java.lang.annotation.Annotation> staticCacheKeyInvocationContext, MethodInvocation invocation)
createCacheKeyInvocationContextImpl
in class org.jsr107.ri.annotations.AbstractCacheLookupUtil<MethodInvocation>
protected org.jsr107.ri.annotations.InternalCacheInvocationContext<? extends java.lang.annotation.Annotation> createCacheInvocationContextImpl(org.jsr107.ri.annotations.StaticCacheInvocationContext<? extends java.lang.annotation.Annotation> staticCacheInvocationContext, MethodInvocation invocation)
createCacheInvocationContextImpl
in class org.jsr107.ri.annotations.AbstractCacheLookupUtil<MethodInvocation>
protected java.lang.Class<?> getTargetClass(MethodInvocation invocation)
getTargetClass
in class org.jsr107.ri.annotations.AbstractCacheLookupUtil<MethodInvocation>
protected java.lang.reflect.Method getMethod(MethodInvocation invocation)
getMethod
in class org.jsr107.ri.annotations.AbstractCacheLookupUtil<MethodInvocation>
protected <T> T getObjectByType(java.lang.Class<T> type)
getObjectByType
in class org.jsr107.ri.annotations.AbstractCacheLookupUtil<MethodInvocation>
protected javax.cache.annotation.CacheKeyGenerator getDefaultCacheKeyGenerator()
getDefaultCacheKeyGenerator
in class org.jsr107.ri.annotations.AbstractCacheLookupUtil<MethodInvocation>
protected javax.cache.annotation.CacheResolverFactory getDefaultCacheResolverFactory()
getDefaultCacheResolverFactory
in class org.jsr107.ri.annotations.AbstractCacheLookupUtil<MethodInvocation>
${project.version} - Copyright © 2003-2015 The Apache Software Foundation.