cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1170253 - /cxf/trunk/rt/core/src/main/java/org/apache/cxf/bus/osgi/OSGiExtensionLocator.java
Date Tue, 13 Sep 2011 17:22:10 GMT
Author: dkulp
Date: Tue Sep 13 17:22:09 2011
New Revision: 1170253

URL: http://svn.apache.org/viewvc?rev=1170253&view=rev
Log:
Make sure the proper classloader is used to load the osgi based bus
extensions.

Modified:
    cxf/trunk/rt/core/src/main/java/org/apache/cxf/bus/osgi/OSGiExtensionLocator.java

Modified: cxf/trunk/rt/core/src/main/java/org/apache/cxf/bus/osgi/OSGiExtensionLocator.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/core/src/main/java/org/apache/cxf/bus/osgi/OSGiExtensionLocator.java?rev=1170253&r1=1170252&r2=1170253&view=diff
==============================================================================
--- cxf/trunk/rt/core/src/main/java/org/apache/cxf/bus/osgi/OSGiExtensionLocator.java (original)
+++ cxf/trunk/rt/core/src/main/java/org/apache/cxf/bus/osgi/OSGiExtensionLocator.java Tue
Sep 13 17:22:09 2011
@@ -199,7 +199,12 @@ public class OSGiExtensionLocator implem
             }
             return super.loadInterface(cl);
         }
-       
+        public Extension cloneNoObject() {
+            OSGiExtension ext = new OSGiExtension(this, bundle);
+            ext.obj = null;
+            return ext;
+        }
+
     }
 
 }



Mime
View raw message