@Configuration protected static class RedisAutoConfiguration.RedisConfiguration extends Object
Modifier | Constructor and Description |
---|---|
protected |
RedisConfiguration() |
Modifier and Type | Method and Description |
---|---|
org.springframework.data.redis.core.RedisTemplate<Object,Object> |
redisTemplate(org.springframework.data.redis.connection.RedisConnectionFactory redisConnectionFactory) |
org.springframework.data.redis.core.StringRedisTemplate |
stringRedisTemplate(org.springframework.data.redis.connection.RedisConnectionFactory redisConnectionFactory) |
@Bean @ConditionalOnMissingBean(name="redisTemplate") public org.springframework.data.redis.core.RedisTemplate<Object,Object> redisTemplate(org.springframework.data.redis.connection.RedisConnectionFactory redisConnectionFactory) throws UnknownHostException
UnknownHostException
@Bean @ConditionalOnMissingBean(value=org.springframework.data.redis.core.StringRedisTemplate.class) public org.springframework.data.redis.core.StringRedisTemplate stringRedisTemplate(org.springframework.data.redis.connection.RedisConnectionFactory redisConnectionFactory) throws UnknownHostException
UnknownHostException
Copyright © 2015 Pivotal Software, Inc.. All rights reserved.