com.mongodb
Class Mongo.Holder
java.lang.Object
com.mongodb.Mongo.Holder
- Enclosing class:
- Mongo
public static class Mongo.Holder
- extends Object
Mongo.Holder is if you want to have a static place to hold instances of Mongo
security is not enforced at this level, so need to do on your side
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Mongo.Holder
public Mongo.Holder()
connect
public Mongo connect(MongoURI uri)
throws MongoException,
UnknownHostException
- Throws:
MongoException
UnknownHostException