@Configuration @ConditionalOnClass(value={, }) public class MongoTemplateAutoConfiguration extends Object
Auto-configuration
for Spring Data's
MongoTemplate
.EnableMongoRepositories
Constructor and Description |
---|
MongoTemplateAutoConfiguration() |
@Bean @ConditionalOnMissingBean public MongoTemplate mongoTemplate(Mongo mongo) throws UnknownHostException
UnknownHostException
Copyright © 2014. All rights reserved.