Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id D2202200B3C for ; Wed, 13 Jul 2016 23:57:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id D095B160A7C; Wed, 13 Jul 2016 21:57:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 4C620160A6A for ; Wed, 13 Jul 2016 23:57:22 +0200 (CEST) Received: (qmail 28238 invoked by uid 500); 13 Jul 2016 21:57:21 -0000 Mailing-List: contact issues-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.apache.org Delivered-To: mailing list issues@ignite.apache.org Received: (qmail 28167 invoked by uid 99); 13 Jul 2016 21:57:21 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Jul 2016 21:57:21 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id EF0462C02A3 for ; Wed, 13 Jul 2016 21:57:20 +0000 (UTC) Date: Wed, 13 Jul 2016 21:57:20 +0000 (UTC) From: "Valentin Kulichenko (JIRA)" To: issues@ignite.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (IGNITE-3476) Node started within SpringCacheManager does not inject Spring resources MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 13 Jul 2016 21:57:23 -0000 [ https://issues.apache.org/jira/browse/IGNITE-3476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15375845#comment-15375845 ] Valentin Kulichenko commented on IGNITE-3476: --------------------------------------------- {{SpringTransactionManager}} should be also fixed in the same way. > Node started within SpringCacheManager does not inject Spring resources > ----------------------------------------------------------------------- > > Key: IGNITE-3476 > URL: https://issues.apache.org/jira/browse/IGNITE-3476 > Project: Ignite > Issue Type: Bug > Components: ignite-spring > Affects Versions: 1.6 > Reporter: Valentin Kulichenko > Assignee: Valentin Kulichenko > Priority: Critical > Fix For: 1.7 > > > {{SpringCacheManager}} uses {{Ignition.start(..)}} methods to start the node and therefore this node is not application context aware. {{@SpringResource}} and {{@SpringApplicationContextResource}} annotations do not work. > To fix this, {{SpringCacheManager}} should implement {{ApplicationContextAware}} interface and start the node using {{IgniteSpring.start(..)}} methods, providing the application context. -- This message was sent by Atlassian JIRA (v6.3.4#6332)