Class MongoJobExplorerFactoryBean

java.lang.Object
org.springframework.batch.core.explore.support.AbstractJobExplorerFactoryBean
org.springframework.batch.core.explore.support.MongoJobExplorerFactoryBean
All Implemented Interfaces:
org.springframework.beans.factory.FactoryBean<JobExplorer>, org.springframework.beans.factory.InitializingBean

public class MongoJobExplorerFactoryBean extends AbstractJobExplorerFactoryBean implements org.springframework.beans.factory.InitializingBean
This factory bean creates a job explorer backed by MongoDB. It requires a mongo template and a mongo transaction manager. The mongo template must be configured with a MappingMongoConverter having a MapKeyDotReplacement set to a non null value. See MongoDBJobRepositoryIntegrationTests for an example. This is required to support execution context keys containing dots (like "step.type" or "batch.version")
Since:
5.2.0
Author:
Mahmoud Ben Hassine