geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dblev...@apache.org
Subject svn commit: r528099 - /geronimo/server/trunk/modules/geronimo-openejb/src/main/java/org/apache/geronimo/openejb/EjbDeployment.java
Date Thu, 12 Apr 2007 19:34:14 GMT
Author: dblevins
Date: Thu Apr 12 12:34:13 2007
New Revision: 528099

URL: http://svn.apache.org/viewvc?view=rev&rev=528099
Log:
Must use remote interface to create EJBObject proxy, not local interface

Modified:
    geronimo/server/trunk/modules/geronimo-openejb/src/main/java/org/apache/geronimo/openejb/EjbDeployment.java

Modified: geronimo/server/trunk/modules/geronimo-openejb/src/main/java/org/apache/geronimo/openejb/EjbDeployment.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/geronimo-openejb/src/main/java/org/apache/geronimo/openejb/EjbDeployment.java?view=diff&rev=528099&r1=528098&r2=528099
==============================================================================
--- geronimo/server/trunk/modules/geronimo-openejb/src/main/java/org/apache/geronimo/openejb/EjbDeployment.java
(original)
+++ geronimo/server/trunk/modules/geronimo-openejb/src/main/java/org/apache/geronimo/openejb/EjbDeployment.java
Thu Apr 12 12:34:13 2007
@@ -194,14 +194,14 @@
     }
 
     public EJBObject getEjbObject(Object primaryKey) {
-        // get the local interface
-        Class localInterface = deploymentInfo.getLocalInterface();
+        // get the remote interface
+        Class remoteInterface = deploymentInfo.getRemoteInterface();
 
         // get the container
         RpcContainer container = (RpcContainer) deploymentInfo.getContainer();
 
         // create a new ProxyInfo based on the deployment info and primary key
-        ProxyInfo proxyInfo = new ProxyInfo(deploymentInfo, primaryKey, localInterface, container);
+        ProxyInfo proxyInfo = new ProxyInfo(deploymentInfo, primaryKey, remoteInterface,
container);
 
         // get the home proxy handler
         EJBHome homeProxy = deploymentInfo.getEJBHome();



Mime
View raw message