Package com.mongodb
Class DBObjectCodecProvider
java.lang.Object
com.mongodb.DBObjectCodecProvider
- All Implemented Interfaces:
CodecProvider
A provider for a DBObjectCodec.
- Since:
- 3.0
-
Constructor Summary
ConstructorDescriptionConstruct an instance using the defaultBsonTypeClassMap
.DBObjectCodecProvider
(BsonTypeClassMap bsonTypeClassMap) Construct an instance with the givenBsonTypeClassMap
. -
Method Summary
-
Constructor Details
-
DBObjectCodecProvider
public DBObjectCodecProvider()Construct an instance using the defaultBsonTypeClassMap
.- See Also:
-
DBObjectCodec.getDefaultBsonTypeClassMap()
-
DBObjectCodecProvider
Construct an instance with the givenBsonTypeClassMap
.- Parameters:
bsonTypeClassMap
- the BsonTypeClassMap
-
-
Method Details