@ConditionalOnClass(value=net.oschina.j2cache.J2Cache.class) @EnableConfigurationProperties(value=J2CacheConfig.class) @Configuration @PropertySource(value="${j2cache.config-location}", encoding="UTF-8", ignoreResourceNotFound=true) public class J2CacheAutoConfiguration extends Object
| 构造器和说明 |
|---|
J2CacheAutoConfiguration() |
| 限定符和类型 | 方法和说明 |
|---|---|
net.oschina.j2cache.CacheChannel |
cacheChannel(net.oschina.j2cache.J2CacheConfig j2CacheConfig) |
net.oschina.j2cache.J2CacheConfig |
j2CacheConfig() |
SpringUtil |
springUtil() |
@Bean
public net.oschina.j2cache.J2CacheConfig j2CacheConfig()
throws IOException
IOException@Bean
@DependsOn(value={"springUtil","j2CacheConfig"})
public net.oschina.j2cache.CacheChannel cacheChannel(net.oschina.j2cache.J2CacheConfig j2CacheConfig)
throws IOException
IOException@Bean public SpringUtil springUtil()
Copyright © 2019. All rights reserved.