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

RepositoryConfigurationDelegate should use ResourceLoader provided by the infrastructure

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.9.1 (Evans SR1)
    • Component/s: Core
    • Labels:
      None

      Description

      In order to extend the RepositoryConfigurationDelegate, I would like to choose the ClassPathScanningCandidateComponentProvider implementation used by the multipleStoresDetected() method.
      In an inherited ClassPathScanningCandidateComponentProvider, I would like to use the Vfs2PathMatchingResourcePatternResolver class (see this class on GitHub).
      Overriding the multipleStoresDetected() could be a solution.

      As explained in the SPR-12423, the ClassPathScanningCandidateComponentProvider allows to customize the ResourcePatternResolver implementation by calling the setResourceLoader method.
      SPR-12423

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              olivergierke Oliver Drotbohm
              Reporter:
              elryk Elryk
              Last updater:
              Elryk
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: