Uploaded image for project: 'Jetspeed 2 (Retired)'
  1. Jetspeed 2 (Retired)
  2. JS2-1253

Generic and shared ServletRequestCleanupService with callback registration for cleanup actions to be executed after a servlet/filter request

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.2.2
    • 2.2.2
    • Other
    • None

    Description

      This new static and shared service is particularly useful, but not limited to, ensure ThreadLocal state to be cleared after each servlet request.
      Because it operates on self registration of callback objects, the service can be used from and integrated with anywhere, without need for additional "cleanup" API additions.

      A default ThreadLocal specific cleanup callback bean will be provided which will even take care of the callback registration so it only needs to be instantiated with a ThreadLocal instance, e.g. like:

      new ServletRequestThreadLocalCleanupCallback(aThreadLocalInstance);

      Attachments

        Issue Links

          Activity

            People

              ate Ate Douma
              ate Ate Douma
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: