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

io.microsphere.spring.test.redis.EnableRedisTest Maven / Gradle / Ivy

There is a newer version: 0.0.3
Show newest version
package io.microsphere.spring.test.redis;

import org.springframework.context.annotation.Import;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.data.redis.core.StringRedisTemplate;
import redis.embedded.RedisServer;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Enable Redis Test configures the component list:
 * 
    *
  • {@link RedisTemplate RedisTemplate<Object,Object>}
  • *
  • {@link StringRedisTemplate}
  • *
  • {@link RedisServer}
  • *
* * @author Mercy * @since 1.0.0 */ @Target({ElementType.TYPE, ElementType.ANNOTATION_TYPE}) @Retention(RetentionPolicy.RUNTIME) @Documented @Inherited @Import(RedisTestConfiguration.class) public @interface EnableRedisTest { }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy