Interface CodecService

All Known Implementing Classes:
CodecServiceImpl

public interface CodecService
Gives access to coder/decoder for a class .
Since:
10.2
  • Method Summary

    Modifier and Type
    Method
    Description
    <T> Codec<T>
    getCodec(String codecName, Class<T> objectClass)
    Returns a codec able to code and decode object of type T
  • Method Details

    • getCodec

      <T> Codec<T> getCodec(String codecName, Class<T> objectClass)
      Returns a codec able to code and decode object of type T
      Type Parameters:
      T - The class name of the object
      Parameters:
      codecName - the name of the registered codec implementation
      objectClass - the object class of the object to encode decode