Class AbstractServerFactory

java.lang.Object
de.flapdoodle.embed.mongo.spring.autoconfigure.AbstractServerFactory
Direct Known Subclasses:
ReactiveClientServerFactory, SyncClientServerFactory

public abstract class AbstractServerFactory extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final org.springframework.boot.autoconfigure.mongo.MongoProperties
     
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    AbstractServerFactory(org.springframework.boot.autoconfigure.mongo.MongoProperties properties)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected final de.flapdoodle.reverse.Listener
    addAuthUserToDB(org.springframework.boot.autoconfigure.mongo.MongoProperties properties)
     
    protected abstract Consumer<de.flapdoodle.embed.mongo.transitions.RunningMongodProcess>
    addAuthUserToDBCallback(String username, char[] password, String databaseName)
     
    protected abstract Consumer<de.flapdoodle.embed.mongo.transitions.RunningMongodProcess>
    sendShutdown(String username, char[] password, String databaseName)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • properties

      protected final org.springframework.boot.autoconfigure.mongo.MongoProperties properties
  • Constructor Details

    • AbstractServerFactory

      protected AbstractServerFactory(org.springframework.boot.autoconfigure.mongo.MongoProperties properties)
  • Method Details

    • addAuthUserToDB

      protected final de.flapdoodle.reverse.Listener addAuthUserToDB(org.springframework.boot.autoconfigure.mongo.MongoProperties properties)
    • addAuthUserToDBCallback

      protected abstract Consumer<de.flapdoodle.embed.mongo.transitions.RunningMongodProcess> addAuthUserToDBCallback(String username, char[] password, String databaseName)
    • sendShutdown

      protected abstract Consumer<de.flapdoodle.embed.mongo.transitions.RunningMongodProcess> sendShutdown(String username, char[] password, String databaseName)