ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Denis Magda (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-3422) No way to control object initialization during deserialization/unmarshalling
Date Tue, 05 Jul 2016 09:23:11 GMT
Denis Magda created IGNITE-3422:
-----------------------------------

             Summary: No way to control object initialization during deserialization/unmarshalling

                 Key: IGNITE-3422
                 URL: https://issues.apache.org/jira/browse/IGNITE-3422
             Project: Ignite
          Issue Type: Improvement
    Affects Versions: 1.6
            Reporter: Denis Magda


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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message