Class BeforeTestcontainerUsedEvent

java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.boot.testcontainers.lifecycle.BeforeTestcontainerUsedEvent
All Implemented Interfaces:
Serializable

@Deprecated(since="3.4.0", forRemoval=true) public class BeforeTestcontainerUsedEvent extends ApplicationEvent
Deprecated, for removal: This API element is subject to removal in a future version.
since 3.4.0 for removal in 3.6.0 in favor of property registration using a DynamicPropertyRegistrar bean that injects the Container from which the properties will be sourced.
Event published just before a Testcontainers Container is used.
Since:
3.2.6
Author:
Andy Wilkinson
See Also:
  • Constructor Details

    • BeforeTestcontainerUsedEvent

      public BeforeTestcontainerUsedEvent(Object source)
      Deprecated, for removal: This API element is subject to removal in a future version.