geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dblev...@apache.org
Subject svn commit: r1080143 - /geronimo/server/trunk/plugins/openejb/geronimo-openejb-builder/src/main/java/org/apache/geronimo/openejb/deployment/EjbModuleBuilder.java
Date Thu, 10 Mar 2011 07:54:06 GMT
Author: dblevins
Date: Thu Mar 10 07:54:06 2011
New Revision: 1080143

URL: http://svn.apache.org/viewvc?rev=1080143&view=rev
Log:
Updates for OPENEJB-1442

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

Modified: geronimo/server/trunk/plugins/openejb/geronimo-openejb-builder/src/main/java/org/apache/geronimo/openejb/deployment/EjbModuleBuilder.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/openejb/geronimo-openejb-builder/src/main/java/org/apache/geronimo/openejb/deployment/EjbModuleBuilder.java?rev=1080143&r1=1080142&r2=1080143&view=diff
==============================================================================
--- geronimo/server/trunk/plugins/openejb/geronimo-openejb-builder/src/main/java/org/apache/geronimo/openejb/deployment/EjbModuleBuilder.java
(original)
+++ geronimo/server/trunk/plugins/openejb/geronimo-openejb-builder/src/main/java/org/apache/geronimo/openejb/deployment/EjbModuleBuilder.java
Thu Mar 10 07:54:06 2011
@@ -423,9 +423,9 @@ public class EjbModuleBuilder implements
         ejbModule.setModuleId(name);
         
         if (standAlone) {
-            ejbModule.setModulePackageName(packageName);
+            ejbModule.setModuleUri(URI.create(packageName));
         } else {
-            ejbModule.setModulePackageName(targetPath);
+            ejbModule.setModuleUri(URI.create(targetPath));
         }
 
 
@@ -1024,7 +1024,7 @@ public class EjbModuleBuilder implements
                 StatefulBeanInfo statefulBeanInfo = (StatefulBeanInfo) beanInfo;
                 for (PersistenceContextReferenceInfo refInfo : statefulBeanInfo.jndiEnc.persistenceContextRefs)
{
                     if (refInfo.extended) {
-                        refInfo.unitId = linkResolver.resolveLink(refInfo.persistenceUnitName,
ejbJarInfo.moduleId);
+                        refInfo.unitId = linkResolver.resolveLink(refInfo.persistenceUnitName,
ejbJarInfo.moduleUri);
                     }
                 }
             }



Mime
View raw message