You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Mark Struberg (JIRA)" <ji...@apache.org> on 2013/05/07 20:39:16 UTC
[jira] [Resolved] (OWB-784) WebContextsService bypasses spi
contract of ContextsService
[ https://issues.apache.org/jira/browse/OWB-784?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mark Struberg resolved OWB-784.
-------------------------------
Resolution: Not A Problem
Assignee: Mark Struberg
The 'hooks' must work together with the actual ContextsService. It's quite natural that a Servlet integration has a slightly different hook than a Portal integration.
> WebContextsService bypasses spi contract of ContextsService
> -----------------------------------------------------------
>
> Key: OWB-784
> URL: https://issues.apache.org/jira/browse/OWB-784
> Project: OpenWebBeans
> Issue Type: Bug
> Components: Core
> Affects Versions: 1.1.7
> Reporter: Gerhard Petracek
> Assignee: Mark Struberg
> Fix For: 1.2.0
>
>
> WebBeansConfigurationFilter, WebBeansConfigurationListener and WebContainerLifecycle are bound to WebContextsService (due to #removeThreadLocals).
> -> #removeThreadLocals should be part of the ContextsService spi (e.g. #resetThreadBoundData)
> or we introduce a new interface e.g. ThreadAware and #resetBoundData only gets called if a custom ContextsService implements it.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira