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
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.bson.codecs.configuration.CodecProvider
get
-
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