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

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

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.2
    • Fix Version/s: 2.2.2
    • Component/s: Other
    • Labels:
      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

              • Assignee:
                adouma Ate Douma
                Reporter:
                adouma Ate Douma
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: