ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Evdokimov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-894) Add @InjectRecursively annotation to allow to inject resources into fields.
Date Tue, 12 May 2015 16:54:01 GMT

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

Sergey Evdokimov commented on IGNITE-894:

Also GridTaskProcessor has a lot of wrappers for user's closures. Now injection works for
those closures because Ignite injects resources recursively for all fields with type IgniteClosure,
Runnable or Callable, but I think it must not depend on field type.

> 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

View raw message