You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by "Ate Douma (JIRA)" <je...@portals.apache.org> on 2011/05/11 17:29:48 UTC

[jira] [Commented] (JS2-1253) Generic and shared ServletRequestCleanupService with callback registration for cleanup actions to be executed after a servlet/filter request

    [ https://issues.apache.org/jira/browse/JS2-1253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13031782#comment-13031782 ] 

Ate Douma commented on JS2-1253:
--------------------------------

Service provided and used to resolve JS2-589 and fix *some* reported errors from JS2-1183  

> 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-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org