Uploaded image for project: 'EJB 3.0'
  1. EJB 3.0
  2. EJBTHREE-1639

IsLocalInterceptor should no longer support @Deprecated dynamicInvoke to Service Containers

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • 1.0.0-Beta12
    • None
    • core
    • None

      Now that @Service beans are considered by ejb3-proxy, remove the following bit from IsLocalInterceptor and ensure service invocations work properly in the newer dynamicInvoke.

      /*

      • EJBTHREE-1385
      • Integration of EJB3 Proxy changed the invocation model,
      • so SessionSpecContainers now are supported via
      • dynamicInvoke(Invocation), where all other
      • SessionContainers use the @deprecated
      • dynamicInvoke(Object,Invocation)
        */
        if (container instanceof SessionSpecContainer) { SessionSpecContainer ssc = (SessionSpecContainer) container; response = ssc.dynamicInvoke(copy); }

        else

        { response = ((SessionContainer) container).dynamicInvoke(null, copy); }

            arubinge@redhat.com Andrew Rubinger (Inactive)
            arubinge@redhat.com Andrew Rubinger (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: