public class CacheBase extends Object implements org.springframework.context.ApplicationContextAware, org.springframework.beans.factory.InitializingBean
Modifier and Type | Field and Description |
---|---|
static String |
DISABLE_CACHE_PROPERTY |
Constructor and Description |
---|
CacheBase() |
public static final String DISABLE_CACHE_PROPERTY
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
Exception
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
public void setCacheKeyBuilder(CacheKeyBuilder cacheKeyBuilder)
public CacheKeyBuilder getCacheKeyBuilder()
public BridgeMethodMappingStore getBridgeMethodMappingStore()
public void setBridgeMethodMappingStore(BridgeMethodMappingStore bridgeMethodMappingStore)
public Cache getCache(AnnotationData data)
public boolean isCacheDisabled()
public <T extends Annotation> Method getMethodToCache(org.aspectj.lang.JoinPoint jp, Class<T> annotationClass) throws NoSuchMethodException
NoSuchMethodException
public <T> T getUpdateData(AnnotationData data, Method method, Object[] args, Object returnValue) throws Exception
Exception
protected Settings getSettings()
protected void verifyReturnTypeIsList(Method method, Class<?> annotationClass)
protected boolean verifyTypeIsList(Class<?> clazz)
protected void verifyReturnTypeIsNoVoid(Method method, Class<?> annotationClass)
protected SerializationType getSerializationType(Method method)
protected org.slf4j.Logger getLogger()
protected void addCache(Cache cache)
Copyright © 2019. All rights reserved.