Class TestcontainersPropertySource
java.lang.Object
org.springframework.core.env.PropertySource<T>
org.springframework.core.env.EnumerablePropertySource<Map<String,Object>>
org.springframework.core.env.MapPropertySource
org.springframework.boot.testcontainers.properties.TestcontainersPropertySource
@Deprecated(since="3.4.0",
forRemoval=true)
public class TestcontainersPropertySource
extends MapPropertySource
Deprecated, for removal: This API element is subject to removal in a future version.
EnumerablePropertySource
backed by a map with values supplied from one or more
testcontainers
.- Since:
- 3.1.0
- Author:
- Phillip Webb
-
Nested Class Summary
Nested classes/interfaces inherited from class org.springframework.core.env.PropertySource
PropertySource.StubPropertySource
-
Field Summary
Fields inherited from class org.springframework.core.env.PropertySource
name, source
-
Method Summary
Modifier and TypeMethodDescriptionstatic DynamicPropertyRegistry
attach
(Environment environment) Deprecated, for removal: This API element is subject to removal in a future version.static DynamicPropertyRegistry
attach
(Environment environment, BeanDefinitionRegistry registry) Deprecated, for removal: This API element is subject to removal in a future version.getProperty
(String name) Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class org.springframework.core.env.MapPropertySource
containsProperty, getPropertyNames
-
Method Details
-
getProperty
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
getProperty
in classMapPropertySource
-
attach
Deprecated, for removal: This API element is subject to removal in a future version. -
attach
public static DynamicPropertyRegistry attach(Environment environment, BeanDefinitionRegistry registry) Deprecated, for removal: This API element is subject to removal in a future version.
-
DynamicPropertyRegistrar
beans.