[jira] [Created] (IGNITE-1434) Platforms: Ensure that @IgniteInstanceResource is set only on setters, not fields.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (IGNITE-1434) Platforms: Ensure that @IgniteInstanceResource is set only on setters, not fields.

Anton Vinogradov (Jira)
Vladimir Ozerov created IGNITE-1434:
---------------------------------------

             Summary: Platforms: Ensure that @IgniteInstanceResource is set only on setters, not fields.
                 Key: IGNITE-1434
                 URL: https://issues.apache.org/jira/browse/IGNITE-1434
             Project: Ignite
          Issue Type: Task
          Components: interop
    Affects Versions: 1.1.4
            Reporter: Vladimir Ozerov
             Fix For: ignite-1.5


Currently @IgniteInstanceResource is set on fields. And then we have to deal with complex initiailzation logic.
Instead, we must set this annotation on setters which will perform initialization immediately.
Furthermore, when possible we must avoid injection in favor of direct setter calls.



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