geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dblev...@apache.org
Subject svn commit: r529356 - /geronimo/server/trunk/modules/geronimo-openejb/src/main/java/org/apache/geronimo/openejb/EjbDeployment.java
Date Mon, 16 Apr 2007 18:50:27 GMT
Author: dblevins
Date: Mon Apr 16 11:50:26 2007
New Revision: 529356

URL: http://svn.apache.org/viewvc?view=rev&rev=529356
Log:
Use the other enum to get the right proxy back

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=529356&r1=529355&r2=529356
==============================================================================
--- 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
Mon Apr 16 11:50:26 2007
@@ -197,7 +197,7 @@
     }
 
     public EJBObject getEjbObject(Object primaryKey) {
-        return (EJBObject) EjbObjectProxyHandler.createProxy(deploymentInfo, primaryKey,
new ArrayList<Class>(), InterfaceType.EJB_OBJECT);
+        return (EJBObject) EjbObjectProxyHandler.createProxy(deploymentInfo, primaryKey,
new ArrayList<Class>(), InterfaceType.EJB_HOME);
     }
 
     public Class getHomeInterface() {



Mime
View raw message