ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Valentin Kulichenko (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-3476) Node started within SpringCacheManager does not inject Spring resources
Date Wed, 13 Jul 2016 21:57:20 GMT

    [ 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)

Mime
View raw message