geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From genspr...@apache.org
Subject svn commit: r1126447 - /geronimo/server/trunk/plugins/openejb/geronimo-openejb-builder/src/main/java/org/apache/geronimo/openejb/deployment/EjbDeploymentBuilder.java
Date Mon, 23 May 2011 11:42:04 GMT
Author: genspring
Date: Mon May 23 11:42:03 2011
New Revision: 1126447

URL: http://svn.apache.org/viewvc?rev=1126447&view=rev
Log:
Set correct AppName for EJB's global name.

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

Modified: geronimo/server/trunk/plugins/openejb/geronimo-openejb-builder/src/main/java/org/apache/geronimo/openejb/deployment/EjbDeploymentBuilder.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/openejb/geronimo-openejb-builder/src/main/java/org/apache/geronimo/openejb/deployment/EjbDeploymentBuilder.java?rev=1126447&r1=1126446&r2=1126447&view=diff
==============================================================================
--- geronimo/server/trunk/plugins/openejb/geronimo-openejb-builder/src/main/java/org/apache/geronimo/openejb/deployment/EjbDeploymentBuilder.java
(original)
+++ geronimo/server/trunk/plugins/openejb/geronimo-openejb-builder/src/main/java/org/apache/geronimo/openejb/deployment/EjbDeploymentBuilder.java
Mon May 23 11:42:03 2011
@@ -388,8 +388,7 @@ public class EjbDeploymentBuilder {
             // classFinder in the module will convey whether metadata-complete is set (or
not)
 //            ejbModule.setClassFinder(createEjbJarClassFinder(ejbModule));
         }
-        //TODO well, what is the appName?
-        String appName = null;
+        String appName = (String)ejbModule.getJndiScope(JndiScope.app).get("app/AppName");
         EjbJarInfo ejbJarInfo = ejbModule.getEjbInfo().getEjbJarInfo();
         for (EnterpriseBean bean : ejbJar.getEnterpriseBeans()) {
             String ejbName = bean.getEjbName();



Mime
View raw message