@Configuration
@AutoConfigureOrder(value=2147483647)
@ConditionalOnProperty(prefix="embedded.containers",
name="enabled",
matchIfMissing=true)
@EnableConfigurationProperties(value=TestcontainersProperties.class)
public class EmbeddedContainersShutdownAutoConfiguration
extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
ALL_CONTAINERS |
| Constructor and Description |
|---|
EmbeddedContainersShutdownAutoConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
AllContainers |
allContainers(DockerPresenceMarker dockerAvailable,
org.testcontainers.containers.GenericContainer[] allContainers,
TestcontainersProperties testcontainersProperties) |
public static final String ALL_CONTAINERS
public EmbeddedContainersShutdownAutoConfiguration()
@Bean(name="allContainers") public AllContainers allContainers(@Autowired(required=false) DockerPresenceMarker dockerAvailable, @Autowired(required=false) org.testcontainers.containers.GenericContainer[] allContainers, TestcontainersProperties testcontainersProperties)
Copyright © 2022. All rights reserved.