Author: dkulp
Date: Tue Sep 13 17:23:45 2011
New Revision: 1170254
URL: http://svn.apache.org/viewvc?rev=1170254&view=rev
Log:
Merged revisions 1170253 via svnmerge from
https://svn.apache.org/repos/asf/cxf/trunk
........
r1170253 | dkulp | 2011-09-13 13:22:09 -0400 (Tue, 13 Sep 2011) | 2 lines
Make sure the proper classloader is used to load the osgi based bus
extensions.
........
Modified:
cxf/branches/2.4.x-fixes/ (props changed)
cxf/branches/2.4.x-fixes/rt/core/src/main/java/org/apache/cxf/bus/osgi/OSGiExtensionLocator.java
Propchange: cxf/branches/2.4.x-fixes/
------------------------------------------------------------------------------
Binary property 'svnmerge-integrated' - no diff available.
Modified:
cxf/branches/2.4.x-fixes/rt/core/src/main/java/org/apache/cxf/bus/osgi/OSGiExtensionLocator.java
URL:
http://svn.apache.org/viewvc/cxf/branches/2.4.x-fixes/rt/core/src/main/java/org/apache/cxf/bus/osgi/OSGiExtensionLocator.java?rev=1170254&r1=1170253&r2=1170254&view=diff
==============================================================================
---
cxf/branches/2.4.x-fixes/rt/core/src/main/java/org/apache/cxf/bus/osgi/OSGiExtensionLocator.java
(original)
+++
cxf/branches/2.4.x-fixes/rt/core/src/main/java/org/apache/cxf/bus/osgi/OSGiExtensionLocator.java
Tue Sep 13 17:23:45 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;
+ }
+
}
}