Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-7739

Write about Spring Injection and IgniteSpringBean in documentation

    XMLWordPrintableJSON

Details

    • Task
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • documentation
    • None

    Description

      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/

      Attachments

        Activity

          People

            pgarg Prachi Garg
            ilyak Ilya Kasnacheev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: