Uploaded image for project: 'OpenWebBeans'
  1. OpenWebBeans
  2. OWB-449

EJB interceptor has incorrect/unnecessary use of business method checks

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.0.0-alpha-2
    • 1.1.1
    • Java EE Integration
    • None

    Description

      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.

      Attachments

        Activity

          People

            covener Eric Covener
            covener Eric Covener
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified