[ 
https://issues.apache.org/jira/browse/IGNITE-478?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yakov Zhdanov updated IGNITE-478:
---------------------------------
    Fix Version/s:     (was: sprint-4)
                   sprint-5

> Refactoring GridResourceProcessor / GridResourceIoc
> ---------------------------------------------------
>
>                 Key: IGNITE-478
>                 URL: https://issues.apache.org/jira/browse/IGNITE-478
>             Project: Ignite
>          Issue Type: Improvement
>            Reporter: Sergey Evdokimov
>            Assignee: Sergey Evdokimov
>             Fix For: sprint-5
>
>
> 1.) When Ignite injects resources, it injects recursively to field value if 
> field value is IgniteClosure, Runnable or Callable. It's not clear and it's 
> not logical, annotation @InjectRecursively should be added.
> 2.) GridResourceIoc works slowly if recursively injection is needed, because 
> GridResourceIoc#isAnnotationPresent() always returns 'true' in this case.
> 3.) Code may be simplified by merging GridResourceIoc#fieldCache, 
> GridResourceIoc#mtdCache, GridResourceIoc#skipCache and 
> GridResourceIoc#annCache to one map.



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

Reply via email to