bguerout/jongo — Issue #2: Injecter une instance de Mongo configurable dans la collection
Author: bguerout
Created: 2011-12-23 15:56:43+00:00
State: open

public MongoCollection(String database, String collection) throws UnknownHostException, MongoException {
this.collection = new Mongo().getDB(database).getCollection(collection);
this.convertor = new DBObjectConvertor();
}