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.

Reply via email to