You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Gurkan Erdogdu (JIRA)" <ji...@apache.org> on 2010/03/20 14:19:27 UTC
[jira] Closed: (OWB-329) Interceptor instances get created each
time the interceptor gets called
[ https://issues.apache.org/jira/browse/OWB-329?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gurkan Erdogdu closed OWB-329.
------------------------------
Resolution: Fixed
Assignee: Gurkan Erdogdu (was: Mark Struberg)
> Interceptor instances get created each time the interceptor gets called
> -----------------------------------------------------------------------
>
> Key: OWB-329
> URL: https://issues.apache.org/jira/browse/OWB-329
> Project: OpenWebBeans
> Issue Type: Bug
> Components: Interceptor and Decorators
> Affects Versions: M4
> Reporter: Mark Struberg
> Assignee: Gurkan Erdogdu
> Priority: Critical
> Fix For: 1.0.0
>
>
> Interceptors are defined as being @Dependent scoped. Thus, for one @ApplicationScoped contextual instance, only one interceptor instance of a certain type must exist. But we currently create a new instance for each and every method invocation which is intercepted.
> This is not only terribly slow, but also doesn't work as expected from a portable perspective.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.