All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.zodiac.autoconfigure.redis.reactive.ReactiveRedisConfigAutoConfiguration Maven / Gradle / Ivy

There is a newer version: 1.6.8
Show newest version
package org.zodiac.autoconfigure.redis.reactive;

import org.springframework.boot.SpringBootConfiguration;
import org.springframework.boot.autoconfigure.AutoConfigureBefore;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnWebApplication;
import org.springframework.boot.autoconfigure.condition.ConditionalOnWebApplication.Type;
import org.springframework.boot.autoconfigure.data.redis.RedisProperties;
import org.springframework.boot.autoconfigure.data.redis.RedisReactiveAutoConfiguration;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Import;
import org.springframework.util.ClassUtils;
import org.zodiac.autoconfigure.redis.RedisCacheCloudProperties;
import org.zodiac.autoconfigure.redis.RedisCacheCloudRedissonProperties;
import org.zodiac.autoconfigure.redis.RedisConfigAutoConfiguration;
import org.zodiac.commons.constants.SystemPropertiesConstants;

@SpringBootConfiguration
@ConditionalOnWebApplication(type = Type.REACTIVE)
@ConditionalOnClass(value = {org.springframework.data.redis.core.RedisOperations.class})
@Import(value = {ReactiveRedissonConnectionConfiguration.class})
@AutoConfigureBefore(value = {RedisReactiveAutoConfiguration.class})
@EnableConfigurationProperties(value = {RedisProperties.class})
public class ReactiveRedisConfigAutoConfiguration {

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy