Class 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 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 interface org.bson.codecs.Decoder<Object>
        Overrides:
        decode in class EntityDecoder