@Configuration
@ConditionalOnProperty(name="embedded.redis.enabled",
matchIfMissing=true)
@EnableConfigurationProperties(value=RedisProperties.class)
public class EmbeddedRedisAutoConfiguration
extends Object
| Constructor and Description |
|---|
EmbeddedRedisAutoConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
org.testcontainers.containers.GenericContainer |
redis(org.springframework.core.env.ConfigurableEnvironment environment,
RedisProperties properties,
RedisStatusCheck redisStatusCheck) |
@Bean(name="embeddedRedis",
destroyMethod="stop")
public org.testcontainers.containers.GenericContainer redis(org.springframework.core.env.ConfigurableEnvironment environment,
RedisProperties properties,
RedisStatusCheck redisStatusCheck)
throws Exception
ExceptionCopyright © 2017 Pivotal Software, Inc.. All rights reserved.