Class DynamicPropertyRegistrarBeanInitializer
java.lang.Object
org.springframework.test.context.support.DynamicPropertyRegistrarBeanInitializer
- All Implemented Interfaces:
Aware
,BeanFactoryInitializer<ListableBeanFactory>
,EnvironmentAware
public class DynamicPropertyRegistrarBeanInitializer
extends Object
implements BeanFactoryInitializer<ListableBeanFactory>, EnvironmentAware
BeanFactoryInitializer
that eagerly initializes DynamicPropertyRegistrar
beans.
Primarily intended for internal use within the Spring TestContext Framework.
- Since:
- 6.2
- Author:
- Sam Brannen
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
initialize
(ListableBeanFactory beanFactory) Initialize the given bean factory.void
setEnvironment
(Environment environment) Set theEnvironment
that this component runs in.
-
Constructor Details
-
DynamicPropertyRegistrarBeanInitializer
public DynamicPropertyRegistrarBeanInitializer()
-
-
Method Details
-
setEnvironment
Description copied from interface:EnvironmentAware
Set theEnvironment
that this component runs in.- Specified by:
setEnvironment
in interfaceEnvironmentAware
-
initialize
Description copied from interface:BeanFactoryInitializer
Initialize the given bean factory.- Specified by:
initialize
in interfaceBeanFactoryInitializer<ListableBeanFactory>
- Parameters:
beanFactory
- the bean factory to bootstrap
-