Uploaded image for project: 'Spring Data GemFire'
  1. Spring Data GemFire
  2. SGF-760

Do not allow eager init when getting beans by type to resolve Configurers for Annotation configuration

    XMLWordPrintable

Details

    • Lovelace RC1

    Description

      This change will disable the allowEagerInit flag when calling the ListableBeanFactory.getBeansOfType(:Class, includeNonSingletons:boolean, allowEagerInit:boolean) searching for SDG *Configurers defined in the Spring container.

      It is possible, with allowEagerInit set to true that a BeanCurrentlyInCreationException can be thrown on Spring container initialization, depending on the Configuration applied along with the beans declared/scanned/registered by the user in his/her Spring application.

      Attachments

        Activity

          People

            jblum John Blum
            jblum John Blum
            Mark Paluch Mark Paluch
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: