Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-11620

Deprecate methods using EncoderRegistry from DataConversion

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 11.0.0.Dev05, 11.0.0.Final
    • 11.0.0.Dev03
    • Core
    • None

    Description

      The DataConversion carries an instance of EncodingRegistry, and exports operations that use it internally:

      • isConversionSupported(MediaType mediaType)
      • convert(Object o, MediaType from, MediaType to)
      • convertToRequestFormat(Object o, MediaType contentType)

      Those operations should be removed and moved to the EncoderRegistry itself, freeing the DataConversion objects from maintaining an internal reference to the registry. This also solves the issue of static DataContainer objects being used in mulitple nodes in the same JVM

      Attachments

        Activity

          People

            gfernand@redhat.com Gustavo Fernandes (Inactive)
            gfernand@redhat.com Gustavo Fernandes (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: