[jira] [Created] (IGNITE-3476) Node started within SpringCacheManager does not inject Spring resources

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (IGNITE-3476) Node started within SpringCacheManager does not inject Spring resources

Anton Vinogradov (Jira)
Valentin Kulichenko created IGNITE-3476:
-------------------------------------------

             Summary: 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)