@Singleton public class CacheLookupUtil extends AbstractCacheLookupUtil<org.aopalliance.intercept.MethodInvocation>
| Constructor and Description |
|---|
CacheLookupUtil(com.google.inject.Injector injector,
CacheKeyGenerator defaultCacheKeyGenerator,
CacheResolverFactory defaultCacheResolverFactory) |
| Modifier and Type | Method and Description |
|---|---|
protected InternalCacheInvocationContext<? extends Annotation> |
createCacheInvocationContextImpl(StaticCacheInvocationContext<? extends Annotation> staticCacheInvocationContext,
org.aopalliance.intercept.MethodInvocation invocation) |
protected InternalCacheKeyInvocationContext<? extends Annotation> |
createCacheKeyInvocationContextImpl(StaticCacheKeyInvocationContext<? extends Annotation> staticCacheKeyInvocationContext,
org.aopalliance.intercept.MethodInvocation invocation) |
protected CacheKeyGenerator |
getDefaultCacheKeyGenerator() |
protected CacheResolverFactory |
getDefaultCacheResolverFactory() |
protected Method |
getMethod(org.aopalliance.intercept.MethodInvocation invocation) |
protected <T> T |
getObjectByType(Class<T> type) |
protected Class<?> |
getTargetClass(org.aopalliance.intercept.MethodInvocation invocation) |
createCacheMethodDetails, createCachePutMethodDetails, createCacheRemoveAllMethodDetails, createCacheRemoveEntryMethodDetails, createCacheResultMethodDetails, getAnnotation, getCacheInvocationContext, getCacheKeyGenerator, getCacheKeyInvocationContext, getCacheResolverFactory, getMethodAnnotations, getMethodDetails, getParameterDetails, resolveCacheName@Inject
public CacheLookupUtil(com.google.inject.Injector injector,
CacheKeyGenerator defaultCacheKeyGenerator,
CacheResolverFactory defaultCacheResolverFactory)
injector - Guice injectordefaultCacheKeyGenerator - the default CacheKeyGeneratordefaultCacheResolverFactory - the default CacheResolverFactoryprotected InternalCacheKeyInvocationContext<? extends Annotation> createCacheKeyInvocationContextImpl(StaticCacheKeyInvocationContext<? extends Annotation> staticCacheKeyInvocationContext, org.aopalliance.intercept.MethodInvocation invocation)
createCacheKeyInvocationContextImpl in class AbstractCacheLookupUtil<org.aopalliance.intercept.MethodInvocation>protected InternalCacheInvocationContext<? extends Annotation> createCacheInvocationContextImpl(StaticCacheInvocationContext<? extends Annotation> staticCacheInvocationContext, org.aopalliance.intercept.MethodInvocation invocation)
createCacheInvocationContextImpl in class AbstractCacheLookupUtil<org.aopalliance.intercept.MethodInvocation>protected Class<?> getTargetClass(org.aopalliance.intercept.MethodInvocation invocation)
getTargetClass in class AbstractCacheLookupUtil<org.aopalliance.intercept.MethodInvocation>protected Method getMethod(org.aopalliance.intercept.MethodInvocation invocation)
getMethod in class AbstractCacheLookupUtil<org.aopalliance.intercept.MethodInvocation>protected <T> T getObjectByType(Class<T> type)
getObjectByType in class AbstractCacheLookupUtil<org.aopalliance.intercept.MethodInvocation>protected CacheKeyGenerator getDefaultCacheKeyGenerator()
getDefaultCacheKeyGenerator in class AbstractCacheLookupUtil<org.aopalliance.intercept.MethodInvocation>protected CacheResolverFactory getDefaultCacheResolverFactory()
getDefaultCacheResolverFactory in class AbstractCacheLookupUtil<org.aopalliance.intercept.MethodInvocation>Copyright © 2014. All Rights Reserved.