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

RepositoryInterfaceAwareBeanFactoryPostProcessor should implement PriorityOrdered

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.6 M1, 1.5.2
    • Component/s: Repositories
    • Labels:
      None

      Description

      Currently RepositoryInterfaceAwareBeanPostProcessor does not implement any of the Ordered interfaces Spring provides. This causes it to be in the last group of actually instantiated BeanPostProcessors. If other BeanPostProcessors are registered that have a dependency on a Spring Data repository, these references cannot be resolved correctly as the type prediction implemented in RIABPP does not kick in.

      Implementing PriorityOrdered should solve this problem as none of the default BeanPostProcessors really use dependency injection or lookups of types that get repositories injected.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                olivergierke Oliver Drotbohm
                Reporter:
                olivergierke Oliver Drotbohm
                Last updater:
                Trevor Marshall
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: