Package cz.jirutka.spring.embedmongo

Examples of cz.jirutka.spring.embedmongo.EmbeddedMongoBuilder


public class MongoConfiguration {

    @Bean
    public Mongo mongo() throws IOException {
        System.setProperty("DB.TRACE","true");
        return new EmbeddedMongoBuilder()
                .version("2.6.0")
                .bindIp("127.0.0.1")
                .port(allocateRandomPort())
                .build();
    }
View Full Code Here

TOP

Related Classes of cz.jirutka.spring.embedmongo.EmbeddedMongoBuilder

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.