@Configuration @ConditionalOnClass(value=) @EnableConfigurationProperties(value=MongoProperties.class) public class MongoAutoConfiguration extends Object
Auto-configuration
for Mongo.Constructor and Description |
---|
MongoAutoConfiguration() |
@PreDestroy public void close() throws UnknownHostException
UnknownHostException
@Bean @ConditionalOnMissingBean public Mongo mongo() throws UnknownHostException
UnknownHostException
Copyright © 2014. All rights reserved.