Return-Path: X-Original-To: apmail-ignite-issues-archive@minotaur.apache.org Delivered-To: apmail-ignite-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C620017AB4 for ; Mon, 6 Apr 2015 13:05:36 +0000 (UTC) Received: (qmail 95084 invoked by uid 500); 6 Apr 2015 13:05:36 -0000 Delivered-To: apmail-ignite-issues-archive@ignite.apache.org Received: (qmail 95066 invoked by uid 500); 6 Apr 2015 13:05:36 -0000 Mailing-List: contact issues-help@ignite.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.incubator.apache.org Delivered-To: mailing list issues@ignite.incubator.apache.org Received: (qmail 95057 invoked by uid 99); 6 Apr 2015 13:05:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Apr 2015 13:05:36 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 06 Apr 2015 13:05:15 +0000 Received: (qmail 94521 invoked by uid 99); 6 Apr 2015 13:05:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Apr 2015 13:05:12 +0000 Date: Mon, 6 Apr 2015 13:05:12 +0000 (UTC) From: "Yakov Zhdanov (JIRA)" To: issues@ignite.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (IGNITE-478) Refactoring GridResourceProcessor / GridResourceIoc MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ 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-3) sprint-4 > 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-4 > > > 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)