Package dev.morphia.mapping.codec
Class PropertyCodecRegistryImpl
- java.lang.Object
-
- dev.morphia.mapping.codec.PropertyCodecRegistryImpl
-
- All Implemented Interfaces:
PropertyCodecRegistry
@MorphiaInternal public class PropertyCodecRegistryImpl extends Object implements 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(Codec<?> pojoCodec, CodecRegistry codecRegistry, List<PropertyCodecProvider> propertyCodecProviders)
Creates an all purpose registry for property codecs
-
-
-
Constructor Detail
-
PropertyCodecRegistryImpl
public PropertyCodecRegistryImpl(Codec<?> pojoCodec, CodecRegistry codecRegistry, List<PropertyCodecProvider> propertyCodecProviders)
Creates an all purpose registry for property codecs- Parameters:
pojoCodec
- the "parent" codeccodecRegistry
- the parent registrypropertyCodecProviders
- a list of providers
-
-
Method Detail
-
get
public <S> Codec<S> get(TypeWithTypeParameters<S> type)
- Specified by:
get
in interfacePropertyCodecRegistry
-
-