Package dev.morphia.mapping.codec
Class PropertyCodecRegistryImpl
- java.lang.Object
-
- dev.morphia.mapping.codec.PropertyCodecRegistryImpl
-
- All Implemented Interfaces:
org.bson.codecs.pojo.PropertyCodecRegistry
public class PropertyCodecRegistryImpl extends Object implements org.bson.codecs.pojo.PropertyCodecRegistry
Defines an all purpose registry for property codecs- Since:
- 2.0
Developer note.This is an internal item. Its function and presence are subject to change without warning. Its use is highly discouraged.
-
-
Constructor Summary
Constructors Constructor Description PropertyCodecRegistryImpl(org.bson.codecs.Codec<?> pojoCodec, org.bson.codecs.configuration.CodecRegistry codecRegistry, List<org.bson.codecs.pojo.PropertyCodecProvider> propertyCodecProviders)
Creates an all purpose registry for property codecs
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <S> org.bson.codecs.Codec<S>
get(org.bson.codecs.pojo.TypeWithTypeParameters<S> type)
-
-
-
Constructor Detail
-
PropertyCodecRegistryImpl
public PropertyCodecRegistryImpl(org.bson.codecs.Codec<?> pojoCodec, org.bson.codecs.configuration.CodecRegistry codecRegistry, List<org.bson.codecs.pojo.PropertyCodecProvider> propertyCodecProviders)
Creates an all purpose registry for property codecs- Parameters:
pojoCodec
- the "parent" codeccodecRegistry
- the parent registrypropertyCodecProviders
- a list of providers
-
-