@Configuration
@ConditionalOnClass(value=MongoDbStateRepository.class)
@ConditionalOnProperty(prefix="spring.statemachine.data.mongo.repositories",
name="enabled",
havingValue="true",
matchIfMissing=true)
@AutoConfigureAfter(value=org.springframework.boot.autoconfigure.data.mongo.MongoRepositoriesAutoConfiguration.class)
@EntityScan(basePackageClasses=MongoDbRepositoryState.class)
@EnableMongoRepositories(basePackageClasses=MongoDbStateRepository.class)
public class StateMachineMongoDbRepositoriesAutoConfiguration
extends java.lang.Object
Auto-configuration
for MongoDb repositories
and Entity classes.