geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject svn commit: r958339 - /geronimo/server/trunk/plugins/openejb/geronimo-openejb-builder/src/main/java/org/apache/geronimo/openejb/deployment/EjbRefBuilder.java
Date Sun, 27 Jun 2010 06:42:57 GMT
Author: djencks
Date: Sun Jun 27 06:42:57 2010
New Revision: 958339

URL: http://svn.apache.org/viewvc?rev=958339&view=rev
Log:
Only let openejb deal with ejb refs.

Modified:
    geronimo/server/trunk/plugins/openejb/geronimo-openejb-builder/src/main/java/org/apache/geronimo/openejb/deployment/EjbRefBuilder.java

Modified: geronimo/server/trunk/plugins/openejb/geronimo-openejb-builder/src/main/java/org/apache/geronimo/openejb/deployment/EjbRefBuilder.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/openejb/geronimo-openejb-builder/src/main/java/org/apache/geronimo/openejb/deployment/EjbRefBuilder.java?rev=958339&r1=958338&r2=958339&view=diff
==============================================================================
--- geronimo/server/trunk/plugins/openejb/geronimo-openejb-builder/src/main/java/org/apache/geronimo/openejb/deployment/EjbRefBuilder.java
(original)
+++ geronimo/server/trunk/plugins/openejb/geronimo-openejb-builder/src/main/java/org/apache/geronimo/openejb/deployment/EjbRefBuilder.java
Sun Jun 27 06:42:57 2010
@@ -128,7 +128,12 @@ public class EjbRefBuilder extends Abstr
             } else {
                 jndiEncInfo = jndiEncInfoBuilder.build(specDD, "GeronimoEnc", module.getTargetPath());
             }
-            JndiEncBuilder jndiEncBuilder = new JndiEncBuilder(jndiEncInfo, null, module.getName(),
getClass().getClassLoader());
+
+            JndiEncInfo ejbEncInfo = new JndiEncInfo();
+            ejbEncInfo.ejbReferences.addAll(jndiEncInfo.ejbReferences);
+            ejbEncInfo.ejbLocalReferences.addAll(jndiEncInfo.ejbLocalReferences);
+
+            JndiEncBuilder jndiEncBuilder = new JndiEncBuilder(ejbEncInfo, null, module.getName(),
getClass().getClassLoader());
 
             map = jndiEncBuilder.buildMap();
         } catch (OpenEJBException e) {



Mime
View raw message