}
public Collection createCollection(String parent, String path, Document configuration) throws Exception {
Collection col = DatabaseManager.getCollection(driver + "/" + parent);
if (col == null) {
throw new XindiceException("DatabaseManager.getCollection(" + driver + "/" + parent + ") returned null");
}
CollectionManager service = (CollectionManager) col.getService("CollectionManager", "1.0");
return service.createCollection(path, configuration);
}