Class ConfigDataApplicationContextInitializer
java.lang.Object
org.springframework.boot.test.context.ConfigDataApplicationContextInitializer
- All Implemented Interfaces:
ApplicationContextInitializer<ConfigurableApplicationContext>
public class ConfigDataApplicationContextInitializer
extends Object
implements ApplicationContextInitializer<ConfigurableApplicationContext>
ApplicationContextInitializer
that can be used with the
ContextConfiguration.initializers()
to trigger loading of ConfigData
such as application.properties.- Since:
- 2.4.0
- Author:
- Phillip Webb
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
initialize
(ConfigurableApplicationContext applicationContext)
-
Constructor Details
-
ConfigDataApplicationContextInitializer
public ConfigDataApplicationContextInitializer()
-
-
Method Details
-
initialize
- Specified by:
initialize
in interfaceApplicationContextInitializer<ConfigurableApplicationContext>
-