@ConditionalOnClass(value=J2Cache.class) @EnableConfigurationProperties(value=J2CacheConfig.class) @Configuration @PropertySource(value="${j2cache.config-location}") public class J2CacheAutoConfiguration extends Object
Constructor and Description |
---|
J2CacheAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
CacheChannel |
cacheChannel(J2CacheConfig j2CacheConfig) |
J2CacheConfig |
j2CacheConfig() |
SpringUtil |
springUtil() |
@Bean public J2CacheConfig j2CacheConfig() throws IOException
IOException
@Bean @DependsOn(value={"springUtil","j2CacheConfig"}) public CacheChannel cacheChannel(J2CacheConfig j2CacheConfig) throws IOException
IOException
@Bean public SpringUtil springUtil()
Copyright © 2018. All rights reserved.