类 SpringConfigProvider
java.lang.Object
com.alicp.jetcache.support.AbstractLifecycle
com.alicp.jetcache.anno.support.ConfigProvider
com.alicp.jetcache.anno.support.SpringConfigProvider
- 所有已实现的接口:
org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware
public class SpringConfigProvider
extends ConfigProvider
implements org.springframework.context.ApplicationContextAware
Created on 2016/12/1.
- 作者:
- huangli
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明newContext(CacheManager cacheManager) voidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext) voidsetEncoderParser(EncoderParser encoderParser) voidsetKeyConvertorParser(KeyConvertorParser keyConvertorParser) voidsetMetricsCallback(Consumer<StatInfo> metricsCallback) 从类继承的方法 com.alicp.jetcache.anno.support.ConfigProvider
createCacheNameGenerator, doShutdown, getCacheBuilderTemplate, getGlobalCacheConfig, parseKeyConvertor, parseValueDecoder, parseValueEncoder, setGlobalCacheConfig从类继承的方法 com.alicp.jetcache.support.AbstractLifecycle
init, shutdown
-
构造器详细资料
-
SpringConfigProvider
public SpringConfigProvider()
-
-
方法详细资料
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException - 指定者:
setApplicationContext在接口中org.springframework.context.ApplicationContextAware- 抛出:
org.springframework.beans.BeansException
-
newContext
- 覆盖:
newContext在类中ConfigProvider
-
setEncoderParser
- 覆盖:
setEncoderParser在类中ConfigProvider
-
setKeyConvertorParser
- 覆盖:
setKeyConvertorParser在类中ConfigProvider
-
setMetricsCallback
- 覆盖:
setMetricsCallback在类中ConfigProvider
-