[
https://issues.apache.org/jira/browse/IGNITE-3422?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15866649#comment-15866649
]
ASF GitHub Bot commented on IGNITE-3422:
----------------------------------------
GitHub user daradurvs opened a pull request:
https://github.com/apache/ignite/pull/1533
IGNITE-3422
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/daradurvs/ignite ignite-3422
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/ignite/pull/1533.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1533
----
commit d7c873286c2950ad385770148586455f518ade0a
Author: daradurvs <[email protected]>
Date: 2017-02-13T10:02:35Z
ignite-3422: control of initialization of object is added
commit 268e1e3d7d809a49b56771617bb6f6b11a494fba
Author: daradurvs <[email protected]>
Date: 2017-02-13T13:38:12Z
ignite-3422: remove Constructor form parameters
commit 54cfdaed57bf336a5de66fd6d1fa5f09c0a95ef0
Author: daradurvs <[email protected]>
Date: 2017-02-13T14:07:02Z
ignite-3422: refactoring
commit 9a557a81192c6d6b0c9ad33d6697b0d21c461bc0
Author: daradurvs <[email protected]>
Date: 2017-02-13T15:16:11Z
ignite-3422: testInstanceFactory was added
commit b269e4ea371a223d1f00c1049b5330c59193e85b
Author: daradurvs <[email protected]>
Date: 2017-02-14T08:48:13Z
ignite-3422: refactoring
commit 28ca680b26648681ec3c1af42cba742e04b1a1e7
Author: daradurvs <[email protected]>
Date: 2017-02-14T08:57:32Z
ignite-3422: instantiation process in the BinaryClassDescriptor was remade
commit 3441d7665d071a2c9a58742eb90e7a2d9e51e73c
Author: daradurvs <[email protected]>
Date: 2017-02-14T09:21:48Z
ignite-3422: tests od InitializationFactory methods were added
commit 77fd9718af4df0f24dab559f94eebec733313ad4
Author: daradurvs <[email protected]>
Date: 2017-02-14T20:49:22Z
ignite-3422: minor fixes in tests
----
> 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
> Components: binary, general
> Affects Versions: 1.6
> Reporter: Denis Magda
> Assignee: Vyacheslav Daradur
>
> 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.15#6346)