portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ate Douma (JIRA)" <jetspeed-...@portals.apache.org>
Subject [jira] [Reopened] (JS2-1253) Generic and shared ServletRequestCleanupService with callback registration for cleanup actions to be executed after a servlet/filter request
Date Thu, 12 May 2011 08:23:47 GMT

     [ https://issues.apache.org/jira/browse/JS2-1253?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ate Douma reopened JS2-1253:
----------------------------


Opening again for some further improvements and simplifications

> 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


Mime
View raw message