[jboss-cvs] JBossAS SVN: r76852 - in projects/ejb3/trunk/proxy/src/main/java/org/jboss/ejb3/proxy: handler/session/stateless and 1 other directory.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Sat Aug 9 07:48:59 EDT 2008


Author: ALRubinger
Date: 2008-08-09 07:48:59 -0400 (Sat, 09 Aug 2008)
New Revision: 76852

Modified:
   projects/ejb3/trunk/proxy/src/main/java/org/jboss/ejb3/proxy/factory/session/stateless/StatelessSessionRemoteProxyFactory.java
   projects/ejb3/trunk/proxy/src/main/java/org/jboss/ejb3/proxy/handler/session/stateless/StatelessRemoteProxyInvocationHandler.java
Log:
[EJBTHREE-1345] Ensure GUID is passed properly for SLSB handler invocations

Modified: projects/ejb3/trunk/proxy/src/main/java/org/jboss/ejb3/proxy/factory/session/stateless/StatelessSessionRemoteProxyFactory.java
===================================================================
--- projects/ejb3/trunk/proxy/src/main/java/org/jboss/ejb3/proxy/factory/session/stateless/StatelessSessionRemoteProxyFactory.java	2008-08-09 11:37:23 UTC (rev 76851)
+++ projects/ejb3/trunk/proxy/src/main/java/org/jboss/ejb3/proxy/factory/session/stateless/StatelessSessionRemoteProxyFactory.java	2008-08-09 11:48:59 UTC (rev 76852)
@@ -140,14 +140,15 @@
    {
       // Obtain properties
       String containerName = this.getContainerName();
+      String containerGuid = this.getContainerGuid();
       String url = this.getUrl();
 
       // Get Interceptors
       Interceptor[] interceptors = this.getInterceptors();
 
       // Create
-      SessionProxyInvocationHandler handler = new StatelessRemoteProxyInvocationHandler(containerName,
-            businessInterfaceName, url, interceptors);
+      SessionProxyInvocationHandler handler = new StatelessRemoteProxyInvocationHandler(containerName, containerGuid,
+            interceptors, businessInterfaceName, url);
 
       // Return
       return handler;

Modified: projects/ejb3/trunk/proxy/src/main/java/org/jboss/ejb3/proxy/handler/session/stateless/StatelessRemoteProxyInvocationHandler.java
===================================================================
--- projects/ejb3/trunk/proxy/src/main/java/org/jboss/ejb3/proxy/handler/session/stateless/StatelessRemoteProxyInvocationHandler.java	2008-08-09 11:37:23 UTC (rev 76851)
+++ projects/ejb3/trunk/proxy/src/main/java/org/jboss/ejb3/proxy/handler/session/stateless/StatelessRemoteProxyInvocationHandler.java	2008-08-09 11:48:59 UTC (rev 76852)
@@ -66,10 +66,10 @@
     * @param url The URL to the Remote Host
     * @param interceptors The interceptors to apply to invocations upon this handler
     */
-   public StatelessRemoteProxyInvocationHandler(final String containerName, final String businessInterfaceType,
-         final String url, final Interceptor[] interceptors)
+   public StatelessRemoteProxyInvocationHandler(final String containerName, final String containerGuid,
+         final Interceptor[] interceptors, final String businessInterfaceType, final String url)
    {
-      super(containerName, businessInterfaceType, interceptors);
+      super(containerName, containerGuid, interceptors, businessInterfaceType);
       this.setUrl(url);
    }
 




More information about the jboss-cvs-commits mailing list