[
https://issues.apache.org/jira/browse/IGNITE-6555?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16212486#comment-16212486
]
ASF GitHub Bot commented on IGNITE-6555:
----------------------------------------
GitHub user symbicator opened a pull request:
https://github.com/apache/ignite/pull/2893
IGNITE-6555 When a CacheStore with a @SpringResource annotated field …
…is configured Ignite fails to start via igniteSpringBean
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/gridgain/apache-ignite ignite-6555
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/ignite/pull/2893.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2893
----
commit 6d39c3cbab6b4c5a5eede7e0ba15aff3407d5805
Author: Alexander Fedotov <[email protected]>
Date: 2017-10-20T10:21:09Z
IGNITE-6555 When a CacheStore with a @SpringResource annotated field is
configured Ignite fails to start via igniteSpringBean
----
> When a CacheStore with a @SpringResource annotated field is configured Ignite
> fails to start via igniteSpringBean
> -----------------------------------------------------------------------------------------------------------------
>
> Key: IGNITE-6555
> URL: https://issues.apache.org/jira/browse/IGNITE-6555
> Project: Ignite
> Issue Type: Bug
> Components: spring
> Affects Versions: 2.2
> Reporter: Alexandr Fedotov
> Assignee: Alexandr Fedotov
> Labels: 2.2, regresion
> Fix For: 2.4
>
>
> When a CacheStore with a @SpringResource annotated field is configured Ignite
> fails to start via igniteSpringBean.
> Example configuration leading to the failure is as follows
> {code:java}
> public class SpringIgniteCacheStore<K, V> extends CacheStoreAdapter<K, V>
> implements Serializable {
> @SpringResource(resourceClass = SomeDao.class)
> public transient SomeDao someDao;
> ...
> }
> @Configuration
> public class IgniteSpringConfig {
> @Bean
> public IgniteSpringBean igniteSpringBean() {
> IgniteSpringBean igniteSpringBean = new IgniteSpringBean();
> ...
> return igniteSpringBean;
> }
> ...
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)