Remove unnecessary JedisConnectionFactory bean

This commit is contained in:
Roy Kachouh
2015-01-14 17:30:43 -05:00
committed by Rob Winch
parent cf1a4b83bf
commit afc3752b33

View File

@@ -1,16 +1,11 @@
package sample.config;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.data.redis.connection.jedis.JedisConnectionFactory;
import org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession;
@Configuration
@EnableRedisHttpSession // <1>
public class HttpSessionConfig {
@Bean
public JedisConnectionFactory connectionFactory() {
return new JedisConnectionFactory(); // <2>
}
}