public class MongoDBSourceImpl extends Object implements MongoDBSource
MongoDBSource
Constructor and Description |
---|
MongoDBSourceImpl(org.slf4j.Logger logger,
int connectionPerHost,
com.mongodb.ReadPreference readPreference,
com.mongodb.WriteConcern writeConcern,
List<com.mongodb.ServerAddress> serverAddresses) |
public MongoDBSourceImpl(org.slf4j.Logger logger, @Symbol(value="tapestry.mongodb.conns-per-host") int connectionPerHost, @Symbol(value="tapestry.mongodb.read_preference") com.mongodb.ReadPreference readPreference, @Symbol(value="tapestry.mongodb.write_concern") com.mongodb.WriteConcern writeConcern, List<com.mongodb.ServerAddress> serverAddresses)
public com.mongodb.MongoClient getMongo()
getMongo
in interface MongoDBSource
MongoClient
database connection object.${project.version} - Copyright © 2003-2015 The Apache Software Foundation.