[
https://issues.apache.org/jira/browse/OWB-502?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12965140#action_12965140
]
Gurkan Erdogdu commented on OWB-502:
------------------------------------
Seems that actual comment of that commit was
"OWB-369 improve ContextsService retrieval
Getting the ContextsService each time was very expensive.
We now cache it depending on the ClassLoader. This way
it is possible that different WebApps may configure
different ContextsServices.
"
> Only cache the ContextService once, in the SingletonService
> -----------------------------------------------------------
>
> Key: OWB-502
> URL: https://issues.apache.org/jira/browse/OWB-502
> Project: OpenWebBeans
> Issue Type: Bug
> Components: Core
> Affects Versions: 1.0.1
> Reporter: David Jencks
> Assignee: Gurkan Erdogdu
> Fix For: 1.0.1
>
>
> Currently the ContextService is cached once in the SingletonService, which
> can be replaced in environments that don't use enough classloaders to
> distinguish different web apps in an ear, and also cached by classloader in
> ContextFactory, which can't as easily be replaced. Caching twice is too
> compilcated.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.