cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject svn commit: r699540 - /cxf/trunk/integration/jca/src/main/java/org/apache/cxf/jca/cxf/ManagedConnectionImpl.java
Date Sat, 27 Sep 2008 02:03:11 GMT
Author: ningjiang
Date: Fri Sep 26 19:03:10 2008
New Revision: 699540

URL: http://svn.apache.org/viewvc?rev=699540&view=rev
Log:
CXF-1825 applied patch with thanks to William

Modified:
    cxf/trunk/integration/jca/src/main/java/org/apache/cxf/jca/cxf/ManagedConnectionImpl.java

Modified: cxf/trunk/integration/jca/src/main/java/org/apache/cxf/jca/cxf/ManagedConnectionImpl.java
URL: http://svn.apache.org/viewvc/cxf/trunk/integration/jca/src/main/java/org/apache/cxf/jca/cxf/ManagedConnectionImpl.java?rev=699540&r1=699539&r2=699540&view=diff
==============================================================================
--- cxf/trunk/integration/jca/src/main/java/org/apache/cxf/jca/cxf/ManagedConnectionImpl.java
(original)
+++ cxf/trunk/integration/jca/src/main/java/org/apache/cxf/jca/cxf/ManagedConnectionImpl.java
Fri Sep 26 19:03:10 2008
@@ -30,6 +30,7 @@
 import javax.resource.spi.ManagedConnectionMetaData;
 import javax.security.auth.Subject;
 import javax.transaction.xa.XAResource;
+import javax.xml.ws.BindingProvider;
 import javax.xml.ws.WebServiceException;
 
 import org.apache.cxf.Bus;
@@ -191,12 +192,12 @@
     private Object createConnectionProxy(Object obj, CXFConnectionRequestInfo cri, Subject
subject)
         throws ResourceException {
 
-        Class classes[] = {Connection.class, cri.getInterface()};
+        Class classes[] = {Connection.class, BindingProvider.class, cri.getInterface()};
 
         return Proxy.newProxyInstance(cri.getInterface().getClassLoader(), classes, 
                                       createInvocationHandler(obj, subject));
     }
-
+       
     private InvocationHandler createInvocationHandler(Object obj, Subject subject) throws
ResourceException {
 
         return getHandlerFactory().createHandlers(obj, subject);



Mime
View raw message