Package dev.morphia.mapping.codec.pojo
Class LifecycleDecoder<T>
- java.lang.Object
-
- dev.morphia.mapping.codec.pojo.EntityDecoder<T>
-
- dev.morphia.mapping.codec.pojo.LifecycleDecoder<T>
-
- Type Parameters:
T
- the type
- All Implemented Interfaces:
Decoder<T>
@MorphiaInternal public class LifecycleDecoder<T> extends EntityDecoder<T>
- Since:
- 2.2
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 LifecycleDecoder(MorphiaCodec<T> codec)
creates the decoder
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
decode(BsonReader reader, DecoderContext decoderContext)
-
Methods inherited from class dev.morphia.mapping.codec.pojo.EntityDecoder
decodeModel, decodeProperties, getCodecFromDocument, getInstanceCreator, getMorphiaCodec
-
-
-
-
Constructor Detail
-
LifecycleDecoder
public LifecycleDecoder(MorphiaCodec<T> codec)
creates the decoder- Parameters:
codec
- the codec
-
-
Method Detail
-
decode
public T decode(BsonReader reader, DecoderContext decoderContext)
-
-