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 org.springframework.core.env.MapPropertySource
Deprecated, for removal: This API element is subject to removal in a future version.
since 3.4.0 for removal in 4.0.0 in favor of declaring one or more DynamicPropertyRegistrar beans.
EnumerablePropertySource backed by a map with values supplied from one or more testcontainers.
Since:
3.1.0
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.springframework.core.env.PropertySource

    org.springframework.core.env.PropertySource.StubPropertySource
  • Field Summary

    Fields inherited from class org.springframework.core.env.PropertySource

    name, source
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.springframework.test.context.DynamicPropertyRegistry
    attach(org.springframework.core.env.Environment environment)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static org.springframework.test.context.DynamicPropertyRegistry
    attach(org.springframework.core.env.Environment environment, org.springframework.beans.factory.support.BeanDefinitionRegistry registry)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    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

    Methods inherited from class org.springframework.core.env.PropertySource

    equals, getName, getSource, hashCode, named, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Method Details

    • getProperty

      public Object getProperty(String name)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      getProperty in class org.springframework.core.env.MapPropertySource
    • attach

      public static org.springframework.test.context.DynamicPropertyRegistry attach(org.springframework.core.env.Environment environment)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • attach

      public static org.springframework.test.context.DynamicPropertyRegistry attach(org.springframework.core.env.Environment environment, org.springframework.beans.factory.support.BeanDefinitionRegistry registry)
      Deprecated, for removal: This API element is subject to removal in a future version.