Class AbstractApplicationContextRunner.BeanRegistration<T>
java.lang.Object
org.springframework.boot.test.context.runner.AbstractApplicationContextRunner.BeanRegistration<T>
- Type Parameters:
T
- the bean type
- Enclosing class:
- AbstractApplicationContextRunner<SELF extends AbstractApplicationContextRunner<SELF,
C, A>, C extends ConfigurableApplicationContext, A extends ApplicationContextAssertProvider<C>>
A Bean registration to be applied when the context loaded.
-
Constructor Summary
ConstructorDescriptionBeanRegistration
(String name, Class<T> type, Object... constructorArgs) BeanRegistration
(String name, Class<T> type, Supplier<T> supplier, BeanDefinitionCustomizer... customizers) -
Method Summary
-
Constructor Details
-
BeanRegistration
-
BeanRegistration
-
-
Method Details
-
apply
-