Package dev.morphia.mapping.codec.pojo
Class LifecycleDecoder
- java.lang.Object
-
- dev.morphia.mapping.codec.pojo.EntityDecoder
-
- dev.morphia.mapping.codec.pojo.LifecycleDecoder
-
- All Implemented Interfaces:
org.bson.codecs.Decoder<Object>
public class LifecycleDecoder extends EntityDecoder
- 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 Object
decode(org.bson.BsonReader reader, org.bson.codecs.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- Type Parameters:
T
- the type- Parameters:
codec
- the codec
-
-
Method Detail
-
decode
public Object decode(org.bson.BsonReader reader, org.bson.codecs.DecoderContext decoderContext)
- Specified by:
decode
in interfaceorg.bson.codecs.Decoder<Object>
- Overrides:
decode
in classEntityDecoder
-
-