Uploaded image for project: 'Spring Data Commons'
  1. Spring Data Commons
  2. DATACMNS-565

Custom repository implementations are not picked up when using CDI

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9 RC1 (Evans)
    • Fix Version/s: 1.9 GA (Evans)
    • Component/s: Repositories
    • Labels:
      None
    • Environment:
      JBoss AS7, CDI 1.0

      Description

      Custom repository implementations cannot be resolved when using CDI 1.0 because BeanManager.getBeans(... does not provide any beans during AfterBeanDiscovery event.

      Solution: Shift the lookup from AfterBeanDiscovery to the the actual bean creation

        Attachments

          Activity

            People

            Assignee:
            olivergierke Oliver Drotbohm
            Reporter:
            mp911de Mark Paluch
            Last updater:
            Oliver Drotbohm
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: