@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 Annotation> |
createCacheInvocationContextImpl(org.jsr107.ri.annotations.StaticCacheInvocationContext<? extends Annotation> staticCacheInvocationContext,
MethodInvocation invocation) |
protected org.jsr107.ri.annotations.InternalCacheKeyInvocationContext<? extends Annotation> |
createCacheKeyInvocationContextImpl(org.jsr107.ri.annotations.StaticCacheKeyInvocationContext<? extends Annotation> staticCacheKeyInvocationContext,
MethodInvocation invocation) |
protected javax.cache.annotation.CacheKeyGenerator |
getDefaultCacheKeyGenerator() |
protected javax.cache.annotation.CacheResolverFactory |
getDefaultCacheResolverFactory() |
protected Method |
getMethod(MethodInvocation invocation) |
protected <T> T |
getObjectByType(Class<T> type) |
protected 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 Annotation> createCacheKeyInvocationContextImpl(org.jsr107.ri.annotations.StaticCacheKeyInvocationContext<? extends Annotation> staticCacheKeyInvocationContext, MethodInvocation invocation)
createCacheKeyInvocationContextImpl
in class org.jsr107.ri.annotations.AbstractCacheLookupUtil<MethodInvocation>
protected org.jsr107.ri.annotations.InternalCacheInvocationContext<? extends Annotation> createCacheInvocationContextImpl(org.jsr107.ri.annotations.StaticCacheInvocationContext<? extends Annotation> staticCacheInvocationContext, MethodInvocation invocation)
createCacheInvocationContextImpl
in class org.jsr107.ri.annotations.AbstractCacheLookupUtil<MethodInvocation>
protected Class<?> getTargetClass(MethodInvocation invocation)
getTargetClass
in class org.jsr107.ri.annotations.AbstractCacheLookupUtil<MethodInvocation>
protected Method getMethod(MethodInvocation invocation)
getMethod
in class org.jsr107.ri.annotations.AbstractCacheLookupUtil<MethodInvocation>
protected <T> T getObjectByType(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.