Example usage for org.springframework.data.mongodb MongoDbFactory interface-usage

List of usage examples for org.springframework.data.mongodb MongoDbFactory interface-usage

Introduction

In this page you can find the example usage for org.springframework.data.mongodb MongoDbFactory interface-usage.

Usage

From source file com.bbytes.zorba.domain.testing.IEmbeddedMongoDBFactory.java

/**
 *An interface that extends {@link MongoDbFactory}.
 *
 * Add methods in case of any specific needs
 *
 * @author Dhanush Gopinath

From source file com.gopivotal.cloudfoundry.test.core.FakeMongoDbFactory.java

/**
 * Fake MongoDbFactory, since we don't have "in-memory" mongodb (equivalent to, say, H2 database)
 * <p/>
 * Objects of this class can be used wherever auto-reconfiguration is expected to take place. If auto-reconfiguration
 * works as expected, they will be replaced with real connection factory object. If not, tests will fail as expected.
 */

From source file com.sangupta.dryrun.mongo.DryRunMongoDBFactory.java

public class DryRunMongoDBFactory implements MongoDbFactory {

    @Override
    public DB getDb() throws DataAccessException {
        return null;
    }