geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dblev...@apache.org
Subject svn commit: r604149 - /geronimo/server/trunk/plugins/openejb/geronimo-openejb-builder/src/main/java/org/apache/geronimo/openejb/deployment/EjbModuleBuilder.java
Date Fri, 14 Dec 2007 10:27:19 GMT
Author: dblevins
Date: Fri Dec 14 02:27:18 2007
New Revision: 604149

URL: http://svn.apache.org/viewvc?rev=604149&view=rev
Log:
Need to use the UniqueDefaultLinkResolver to get the correct default unitName behavior

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=604149&r1=604148&r2=604149&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
Fri Dec 14 02:27:18 2007
@@ -97,6 +97,7 @@
 import org.apache.openejb.assembler.classic.LinkResolver;
 import org.apache.openejb.assembler.classic.StatefulBeanInfo;
 import org.apache.openejb.assembler.classic.PersistenceContextReferenceInfo;
+import org.apache.openejb.assembler.classic.UniqueDefaultLinkResolver;
 import org.apache.openejb.config.AppModule;
 import org.apache.openejb.config.ConfigurationFactory;
 import org.apache.openejb.config.DeploymentLoader;
@@ -737,7 +738,7 @@
         ejbDeploymentBuilder.buildEnc();
 
         Set<GBeanData> gBeanDatas = earContext.getConfiguration().findGBeanDatas(Collections.singleton(new
AbstractNameQuery(PersistenceUnitGBean.class.getName())));
-        LinkResolver<String> linkResolver = new LinkResolver<String>();
+        LinkResolver<String> linkResolver = new UniqueDefaultLinkResolver<String>();
         for (GBeanData gBeanData : gBeanDatas) {
             String name = (String) gBeanData.getAttribute("persistenceUnitName");
             String rootUrl = (String) gBeanData.getAttribute("persistenceUnitRoot");



Mime
View raw message