I think, you are right.
Could you plese create issue for Ignite in Apache Jira[1]?
Until you can to use something like this:
Ignite ig = Ignition.ignite();
backend = ig.services().service(CacheStoreBackend.SERVICE_NAME);
as workaround.
[1]: https://issues.apache.org/jira/secure/Dashboard.jspa
YevIgn wrote
> Hello, everyone.
>
> Recently, while using service injection in custom CacheStore
> implementation, we faced the problem that with startup deployment of
> services and caches through Spring, the services are not injected into
> CacheStore. It doesn't happen when we deploy our services and caches
> manually, so we assume the behavior is not intended.
>
> Here is the small demo proejct:
> https://github.com/YevIgn/ignite-cache-store-service-injection - when
> running example.Main I get NPE on cache.put(..)
>
> Could you, please, look into it and advise on possible resolution of
> this issue?
--
View this message in context:
http://apache-ignite-users.70518.x6.nabble.com/Services-not-injected-into-CacheStore-if-deployed-using-Spring-configuration-tp7708p7761.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.