[jboss-jira] [JBoss JIRA] Created: (EJBTHREE-1639) IsLocalInterceptor should no longer support @Deprecated dynamicInvoke to Service Containers

Andrew Lee Rubinger (JIRA) jira-events at lists.jboss.org
Wed Dec 17 00:02:54 EST 2008


IsLocalInterceptor should no longer support @Deprecated dynamicInvoke to Service Containers
-------------------------------------------------------------------------------------------

                 Key: EJBTHREE-1639
                 URL: https://jira.jboss.org/jira/browse/EJBTHREE-1639
             Project: EJB 3.0
          Issue Type: Task
          Components: core
            Reporter: Andrew Lee Rubinger
            Assignee: Andrew Lee Rubinger
             Fix For: 1.0.0-CR1


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);
      }



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list