- All Implemented Interfaces:
- org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.FactoryBean<com.mongodb.MongoClient>, org.springframework.beans.factory.InitializingBean
public class MongoClientFromUriFactoryBean
extends org.springframework.beans.factory.config.AbstractFactoryBean<com.mongodb.MongoClient>
FactoryBean that besides creating a MongoClient from a Mongo URI,
closes the client when it's destroyed.
- Author:
- avasquez
- See Also:
- MongoClientURI