de.flapdoodle.embedmongo
Class MongoDBRuntime

java.lang.Object
  extended by de.flapdoodle.embedmongo.MongoDBRuntime

public class MongoDBRuntime
extends Object


Method Summary
 boolean checkDistribution(Distribution distribution)
           
protected  File extractMongod(Distribution distribution)
           
static MongoDBRuntime getDefaultInstance()
           
static MongoDBRuntime getInstance(RuntimeConfig config)
           
 MongodProcess start(MongodConfig mongodConfig)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static MongoDBRuntime getInstance(RuntimeConfig config)

getDefaultInstance

public static MongoDBRuntime getDefaultInstance()

checkDistribution

public boolean checkDistribution(Distribution distribution)
                          throws IOException
Throws:
IOException

start

public MongodProcess start(MongodConfig mongodConfig)

extractMongod

protected File extractMongod(Distribution distribution)
                      throws IOException
Throws:
IOException


Copyright © 2011. All Rights Reserved.