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

Scope of CDI bean should default to ApplicationScoped

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.6 M1
    • Component/s: None
    • Labels:
      None

      Description

      Currently the base class to be implemented to enable CDI support does not implement getScope(). Implementations such as JPA and MongoDB currently inherit the scope of the bean from the underlying resource (EntityManager or MongoOperations). The scope can default to ApplicationScoped as the repository does not need to be re-created.

        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: