org.springframework.boot.autoconfigure.data.mongo

Class MongoDataAutoConfiguration

  • java.lang.Object
    • org.springframework.boot.autoconfigure.data.mongo.MongoDataAutoConfiguration
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      org.springframework.data.mongodb.gridfs.GridFsTemplate gridFsTemplate(org.springframework.data.mongodb.MongoDbFactory mongoDbFactory, org.springframework.data.mongodb.core.MongoTemplate mongoTemplate) 
      org.springframework.data.mongodb.core.convert.MappingMongoConverter mappingMongoConverter(org.springframework.data.mongodb.MongoDbFactory factory, org.springframework.data.mongodb.core.mapping.MongoMappingContext context, org.springframework.data.mongodb.core.convert.MongoCustomConversions conversions) 
      org.springframework.data.mongodb.core.convert.MongoCustomConversions mongoCustomConversions() 
      org.springframework.data.mongodb.core.SimpleMongoDbFactory mongoDbFactory(com.mongodb.MongoClient mongo) 
      org.springframework.data.mongodb.core.mapping.MongoMappingContext mongoMappingContext(org.springframework.data.mongodb.core.convert.MongoCustomConversions conversions) 
      org.springframework.data.mongodb.core.MongoTemplate mongoTemplate(org.springframework.data.mongodb.MongoDbFactory mongoDbFactory, org.springframework.data.mongodb.core.convert.MongoConverter converter) 
    • Method Detail

      • mongoDbFactory

        @Bean
         @ConditionalOnMissingBean(value=org.springframework.data.mongodb.MongoDbFactory.class)
        public org.springframework.data.mongodb.core.SimpleMongoDbFactory mongoDbFactory(com.mongodb.MongoClient mongo)
      • mongoTemplate

        @Bean
         @ConditionalOnMissingBean
        public org.springframework.data.mongodb.core.MongoTemplate mongoTemplate(org.springframework.data.mongodb.MongoDbFactory mongoDbFactory,
                                                                                                                  org.springframework.data.mongodb.core.convert.MongoConverter converter)
      • mappingMongoConverter

        @Bean
         @ConditionalOnMissingBean(value=org.springframework.data.mongodb.core.convert.MongoConverter.class)
        public org.springframework.data.mongodb.core.convert.MappingMongoConverter mappingMongoConverter(org.springframework.data.mongodb.MongoDbFactory factory,
                                                                                                                                                                                                                    org.springframework.data.mongodb.core.mapping.MongoMappingContext context,
                                                                                                                                                                                                                    org.springframework.data.mongodb.core.convert.MongoCustomConversions conversions)
      • gridFsTemplate

        @Bean
         @ConditionalOnMissingBean
        public org.springframework.data.mongodb.gridfs.GridFsTemplate gridFsTemplate(org.springframework.data.mongodb.MongoDbFactory mongoDbFactory,
                                                                                                                      org.springframework.data.mongodb.core.MongoTemplate mongoTemplate)
      • mongoCustomConversions

        @Bean
         @ConditionalOnMissingBean
        public org.springframework.data.mongodb.core.convert.MongoCustomConversions mongoCustomConversions()