Sergey Evdokimov created IGNITE-478:
---------------------------------------

             Summary: 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-3


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