Class TestcontainersLifecycleApplicationContextInitializer
java.lang.Object
org.springframework.boot.testcontainers.lifecycle.TestcontainersLifecycleApplicationContextInitializer
- All Implemented Interfaces:
ApplicationContextInitializer<ConfigurableApplicationContext>
public class TestcontainersLifecycleApplicationContextInitializer
extends Object
implements ApplicationContextInitializer<ConfigurableApplicationContext>
ApplicationContextInitializer
to manage the lifecycle of startable containers
.- Since:
- 3.1.0
- Author:
- Phillip Webb
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
initialize
(ConfigurableApplicationContext applicationContext)
-
Constructor Details
-
TestcontainersLifecycleApplicationContextInitializer
public TestcontainersLifecycleApplicationContextInitializer()
-
-
Method Details
-
initialize
- Specified by:
initialize
in interfaceApplicationContextInitializer<ConfigurableApplicationContext>
-