org.zodiac.autoconfigure.redis.RedisConfigAutoConfiguration Maven / Gradle / Ivy
package org.zodiac.autoconfigure.redis;
import org.springframework.boot.SpringBootConfiguration;
import org.springframework.boot.autoconfigure.AutoConfigureBefore;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.data.redis.RedisAutoConfiguration;
import org.springframework.boot.autoconfigure.data.redis.RedisProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Import;
import org.zodiac.autoconfigure.redis.condition.ConditionalOnRedisEnabled;
@SpringBootConfiguration
@ConditionalOnRedisEnabled
@ConditionalOnClass(value = {org.springframework.data.redis.core.RedisOperations.class})
@Import(value = {RedissonConnectionConfiguration.class})
@AutoConfigureBefore(value = {RedisAutoConfiguration.class})
@EnableConfigurationProperties(value = {RedisProperties.class})
public class RedisConfigAutoConfiguration {
}