类 BatchTestContextCustomizer
- java.lang.Object
- org.springframework.batch.test.context.BatchTestContextCustomizer
- 所有已实现的接口:
org.springframework.test.context.ContextCustomizer
public class BatchTestContextCustomizer extends java.lang.Object implements org.springframework.test.context.ContextCustomizer
ContextCustomizer
implementation that adds batch test utility classes (JobLauncherTestUtils
andJobRepositoryTestUtils
) as beans in the test context.- 从以下版本开始:
- 4.1
- 作者:
- Mahmoud Ben Hassine
构造器概要
构造器 构造器 说明 BatchTestContextCustomizer()
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 void
customizeContext(org.springframework.context.ConfigurableApplicationContext context, org.springframework.test.context.MergedContextConfiguration mergedConfig)
构造器详细资料
BatchTestContextCustomizer
public BatchTestContextCustomizer()
方法详细资料
customizeContext
public void customizeContext(org.springframework.context.ConfigurableApplicationContext context, org.springframework.test.context.MergedContextConfiguration mergedConfig)
- 指定者:
customizeContext
在接口中org.springframework.test.context.ContextCustomizer