public abstract class AbstractServerFactory<C extends Closeable> extends Object
| Modifier and Type | Field and Description |
|---|---|
protected org.springframework.boot.autoconfigure.mongo.MongoProperties |
properties |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractServerFactory(org.springframework.boot.autoconfigure.mongo.MongoProperties properties) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract C |
client(de.flapdoodle.embed.mongo.commands.ServerAddress serverAddress) |
protected abstract C |
client(de.flapdoodle.embed.mongo.commands.ServerAddress serverAddress,
com.mongodb.MongoCredential credential) |
MongodWrapper |
createWrapper(de.flapdoodle.embed.mongo.distribution.IFeatureAwareVersion version,
de.flapdoodle.embed.mongo.transitions.Mongod mongod,
de.flapdoodle.embed.mongo.commands.MongodArguments mongodArguments) |
protected abstract org.bson.Document |
resultOfAction(C client,
de.flapdoodle.embed.mongo.spring.autoconfigure.MongoClientAction.Action action) |
protected final org.springframework.boot.autoconfigure.mongo.MongoProperties properties
protected AbstractServerFactory(org.springframework.boot.autoconfigure.mongo.MongoProperties properties)
public final MongodWrapper createWrapper(de.flapdoodle.embed.mongo.distribution.IFeatureAwareVersion version, de.flapdoodle.embed.mongo.transitions.Mongod mongod, de.flapdoodle.embed.mongo.commands.MongodArguments mongodArguments)
protected abstract C client(de.flapdoodle.embed.mongo.commands.ServerAddress serverAddress)
protected abstract C client(de.flapdoodle.embed.mongo.commands.ServerAddress serverAddress, com.mongodb.MongoCredential credential)
protected abstract org.bson.Document resultOfAction(C client, de.flapdoodle.embed.mongo.spring.autoconfigure.MongoClientAction.Action action)
Copyright © 2023. All rights reserved.