Class AnnotationEncoderFactory

  • All Implemented Interfaces:
    EncoderFactory

    public class AnnotationEncoderFactory
    extends AbstractObjectEncoderFactory
    An encoder factory that works with annotations placed on class methods that mark the methods for getting an encoder and decoder for the class. This is a generic factory that will work with any class that uses the annotations: Encoder and Decoder.

    Note that the annotated methods must be static as the class cannot be instantiated to obtain the encoder/decoder instances.

    • Constructor Detail

      • AnnotationEncoderFactory

        public AnnotationEncoderFactory()