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.
- Since:
- 2.0.0
- Author:
- Stephane Nicoll, Andy Wilkinson, Phillip Webb
-
Constructor Summary
ConstructorsConstructorDescriptionBeanRegistration
(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
-