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

                 Key: JS2-1253
                 URL: https://issues.apache.org/jira/browse/JS2-1253
             Project: Jetspeed 2
          Issue Type: New Feature
          Components: Other
    Affects Versions: 2.2.2
            Reporter: Ate Douma
            Assignee: Ate Douma
             Fix For: 2.2.2


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);


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscr...@portals.apache.org
For additional commands, e-mail: jetspeed-dev-h...@portals.apache.org

Reply via email to