[ 
https://issues.apache.org/jira/browse/IGNITE-894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14543405#comment-14543405
 ] 

Sergey Evdokimov commented on IGNITE-894:
-----------------------------------------

Consider the case: GridClosureProcessor creates a job that wraps user job, on 
the remote node injection performs in our job, we need to perform injection to 
user job that wrapped by our job. In this case we cannot pass the proper 
resources on initialization we need a way to mark field with user job as 
injectable. Annotation is the most simple way to mark field.

> Add @InjectRecursively annotation to allow to inject resources into fields.
> ---------------------------------------------------------------------------
>
>                 Key: IGNITE-894
>                 URL: https://issues.apache.org/jira/browse/IGNITE-894
>             Project: Ignite
>          Issue Type: Sub-task
>            Reporter: Sergey Evdokimov
>            Assignee: Sergey Evdokimov
>
> 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.



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

Reply via email to