Package com.mongodb

Class DBObjectCodecProvider

java.lang.Object
com.mongodb.DBObjectCodecProvider
All Implemented Interfaces:
CodecProvider

public class DBObjectCodecProvider extends Object implements CodecProvider
A provider for a DBObjectCodec.
Since:
3.0
  • Constructor Details

    • DBObjectCodecProvider

      public DBObjectCodecProvider()
      Construct an instance using the default BsonTypeClassMap.
      See Also:
      • DBObjectCodec.getDefaultBsonTypeClassMap()
    • DBObjectCodecProvider

      public DBObjectCodecProvider(BsonTypeClassMap bsonTypeClassMap)
      Construct an instance with the given BsonTypeClassMap.
      Parameters:
      bsonTypeClassMap - the BsonTypeClassMap
  • Method Details