Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-420

Field-level context injection broken for Spring-loaded resources

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.0.RC1
    • 2.0-beta-4
    • jaxrs
    • None

      Field-level injection for Spring-loaded resources does not take account that the bean may be a singleton, even if the injection occurs within the scope of a request.

      As a result for example a lazy-init'd resource bean will not have refreshed data underpinning the injected context for subsequent requests, nor thread-locality to ensure that concurrent requests see independent values for the injected UriInfo (or whatever the context may be).

            patriot1burke@gmail.com Bill Burke (Inactive)
            eglynn_jira Eoghan Glynn (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: