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

Allow configuration inspection-classloader customization

    Details

      Description

      We should allow customization of the classloader that is used to load repository interfaces/domain classes during configuration inspection.

      Originally:

      In RepositoryConfigurationExtensionSupport, we're loading repository interfaces through the class loader which loads in consequence associated classes (id class, domain class).

      Early class loading can interfere with initialization, especially if classes are post-processed at a later stage (e.g. Load-Time Weaving, see DATAJPA-1250).

      We should investigate what we can do to not load classes during configuration initialization and still obtain details required to properly configure repository factory beans.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mp911de Mark Paluch
                Reporter:
                mp911de Mark Paluch
                Last updater:
                Mark Paluch
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: