Class UnknownMongoDatabaseFactory

  • All Implemented Interfaces:
    MongoDatabaseFactory

    public final class UnknownMongoDatabaseFactory
    extends java.lang.Object
    implements MongoDatabaseFactory
    The simple Mongo database factory that throws an error because default database name is not specified.
    Since:
    3.3
    Author:
    Denis Stepanov
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.mongodb.client.MongoDatabase getDatabase​(PersistentEntity persistentEntity)
      The Mongo database factory.
      com.mongodb.client.MongoDatabase getDatabase​(java.lang.Class<?> entityClass)
      The Mongo database factory.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait