io.github.flynn.polaris.data.jdbc.anno.EnableRedisMultiDataSource Maven / Gradle / Ivy
package io.github.flynn.polaris.data.jdbc.anno;
import io.github.flynn.polaris.data.jdbc.configuration.RedisMultiDataSourceConfiguration;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import org.springframework.boot.autoconfigure.ImportAutoConfiguration;
import org.springframework.boot.autoconfigure.data.redis.RedisAutoConfiguration;
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE})
@ImportAutoConfiguration(
value = RedisMultiDataSourceConfiguration.class,
exclude = {
RedisAutoConfiguration.class
}
)
public @interface EnableRedisMultiDataSource {
}