geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xuhaih...@apache.org
Subject svn commit: r1155209 - /geronimo/server/trunk/plugins/openjpa2/geronimo-persistence-jpa20/src/main/java/org/apache/geronimo/persistence/PersistenceUnitGBean.java
Date Tue, 09 Aug 2011 05:09:07 GMT
Author: xuhaihong
Date: Tue Aug  9 05:09:07 2011
New Revision: 1155209

URL: http://svn.apache.org/viewvc?rev=1155209&view=rev
Log:
Do not search wired bundles by default for jpa classloader

Modified:
    geronimo/server/trunk/plugins/openjpa2/geronimo-persistence-jpa20/src/main/java/org/apache/geronimo/persistence/PersistenceUnitGBean.java

Modified: geronimo/server/trunk/plugins/openjpa2/geronimo-persistence-jpa20/src/main/java/org/apache/geronimo/persistence/PersistenceUnitGBean.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/openjpa2/geronimo-persistence-jpa20/src/main/java/org/apache/geronimo/persistence/PersistenceUnitGBean.java?rev=1155209&r1=1155208&r2=1155209&view=diff
==============================================================================
--- geronimo/server/trunk/plugins/openjpa2/geronimo-persistence-jpa20/src/main/java/org/apache/geronimo/persistence/PersistenceUnitGBean.java
(original)
+++ geronimo/server/trunk/plugins/openjpa2/geronimo-persistence-jpa20/src/main/java/org/apache/geronimo/persistence/PersistenceUnitGBean.java
Tue Aug  9 05:09:07 2011
@@ -56,6 +56,7 @@ import org.apache.geronimo.transaction.m
 import org.apache.geronimo.transformer.TransformerAgent;
 import org.apache.xbean.osgi.bundle.util.BundleClassLoader;
 import org.apache.xbean.osgi.bundle.util.BundleResourceClassLoader;
+import org.apache.xbean.osgi.bundle.util.BundleResourceHelper;
 import org.osgi.framework.Bundle;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
@@ -115,7 +116,7 @@ public class PersistenceUnitGBean implem
             }
         }
         
-        classLoader = new BundleResourceClassLoader(bundle);
+        classLoader = new BundleClassLoader(bundle, BundleResourceHelper.getSearchWiredBundles(false),
BundleResourceHelper.getConvertResourceUrls(true));
         
         if (managedClassNames == null) {
             managedClassNames = NO_STRINGS;



Mime
View raw message