You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Eric Covener (JIRA)" <ji...@apache.org> on 2010/09/07 22:31:40 UTC
[jira] Created: (OWB-449) EJB interceptor has incorrect/unnecessary
use of business method checks
EJB interceptor has incorrect/unnecessary use of business method checks
-----------------------------------------------------------------------
Key: OWB-449
URL: https://issues.apache.org/jira/browse/OWB-449
Project: OpenWebBeans
Issue Type: Bug
Components: Java EE Integration
Affects Versions: 1.0.0-alpha-2
Reporter: Eric Covener
Assignee: Eric Covener
Priority: Minor
EJB interceptor checks in its own @AroundInvoke whether the method is a business method but it:
*) only considers local interfaces, but remote and bean-local view methods must be interceptable (whether or not they are 299 bean-types)
*) is unnecessary since the EJB container only calls this @AroundInvoke for business method invocations
Also, the warning for Object.class methods is duplicated in the @AroundInvoke and our EJBBeanProxyHandler. I think we should remove it from the former, since it only applies to contextual reference.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (OWB-449) EJB interceptor has
incorrect/unnecessary use of business method checks
Posted by "Eric Covener (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OWB-449?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eric Covener resolved OWB-449.
------------------------------
Resolution: Fixed
> EJB interceptor has incorrect/unnecessary use of business method checks
> -----------------------------------------------------------------------
>
> Key: OWB-449
> URL: https://issues.apache.org/jira/browse/OWB-449
> Project: OpenWebBeans
> Issue Type: Bug
> Components: Java EE Integration
> Affects Versions: 1.0.0-alpha-2
> Reporter: Eric Covener
> Assignee: Eric Covener
> Priority: Minor
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> EJB interceptor checks in its own @AroundInvoke whether the method is a business method but it:
> *) only considers local interfaces, but remote and bean-local view methods must be interceptable (whether or not they are 299 bean-types)
> *) is unnecessary since the EJB container only calls this @AroundInvoke for business method invocations
> Also, the warning for Object.class methods is duplicated in the @AroundInvoke and our EJBBeanProxyHandler. I think we should remove it from the former, since it only applies to contextual reference.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.