Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-3422

No way to control object initialization during deserialization/unmarshalling

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.6
    • None
    • binary, general
    • None

    Description

      Presently there is no way to control instantiation of a BinaryObject that is being deserialized. The object is created using BinaryClassDescriptor#newInstance all the time.

      It makes sense to add BinaryConfiguration.setInitializationFactory() method that will provide with such support.

      Use case and details are provided in this discussion
      http://apache-ignite-users.70518.x6.nabble.com/Properly-Immutable-Keys-values-with-Binary-objects-tp6082.html

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dmagda Denis A. Magda
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated: