You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Ilya Kasnacheev (JIRA)" <ji...@apache.org> on 2018/02/16 15:01:00 UTC

[jira] [Created] (IGNITE-7739) Write about Spring Injection and IgniteSpringBean in documentation

Ilya Kasnacheev created IGNITE-7739:
---------------------------------------

             Summary: Write about Spring Injection and IgniteSpringBean in documentation
                 Key: IGNITE-7739
                 URL: https://issues.apache.org/jira/browse/IGNITE-7739
             Project: Ignite
          Issue Type: Task
          Components: documentation
            Reporter: Ilya Kasnacheev


Currently there is no mention of IgniteSpringBean on readme.io

We have section https://apacheignite.readme.io/docs/resource-injection but it's totally not obvious how to make e.g. SpringResource work, what are pre-requisites.

Thing is, if Ignite creates Spring context (via Ignition), then Spring injection would work out of box.
If Spring context creates Ignite as a bean, that bean should be IgniteSpringBean and not Ignite. Otherwise, Spring context and lifecycle would not be visible to Ignite and injection won't work.

On unrelated note, maybe we need support for Spring Boot already? See https://habrahabr.ru/post/310672/



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)