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

Eduard Shangareev edited comment on IGNITE-3476 at 7/22/16 1:44 PM:
--------------------------------------------------------------------

# Now {{SpringCacheManager}} and {{SpringTransactionManager}} implement 
{{ApplicationContextAware}} interface.
# {{Ignition.start}} calls were replaced by {{IgniteSpring.start}} calls. 
# New tests were added, which test this issue.

Link to PR:
https://github.com/apache/ignite/pull/885


was (Author: edshanggg):
# Now {{SpringCacheManager}} and {{SpringTransactionManager}} implement 
{{ApplicationContextAware}} interface.
# {{Ignition.start}} calls was replaced by {{IgniteSpring.start}} calls. 
# New tests were added, which test this issue.

> 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: Eduard Shangareev
>            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)

Reply via email to