geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject svn commit: r549129 - /geronimo/server/trunk/modules/geronimo-cxf/src/main/java/org/apache/geronimo/cxf/CXFEndpoint.java
Date Wed, 20 Jun 2007 15:13:49 GMT
Author: gawor
Date: Wed Jun 20 08:13:48 2007
New Revision: 549129

URL: http://svn.apache.org/viewvc?view=rev&rev=549129
Log:
(re)disable cxf resource injection (the api was recently changed)

Modified:
    geronimo/server/trunk/modules/geronimo-cxf/src/main/java/org/apache/geronimo/cxf/CXFEndpoint.java

Modified: geronimo/server/trunk/modules/geronimo-cxf/src/main/java/org/apache/geronimo/cxf/CXFEndpoint.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/geronimo-cxf/src/main/java/org/apache/geronimo/cxf/CXFEndpoint.java?view=diff&rev=549129&r1=549128&r2=549129
==============================================================================
--- geronimo/server/trunk/modules/geronimo-cxf/src/main/java/org/apache/geronimo/cxf/CXFEndpoint.java
(original)
+++ geronimo/server/trunk/modules/geronimo-cxf/src/main/java/org/apache/geronimo/cxf/CXFEndpoint.java
Wed Jun 20 08:13:48 2007
@@ -159,8 +159,15 @@
         // TODO Auto-generated method stub
     }
 
+    private static class GeronimoJaxWsServerFactoryBean extends JaxWsServerFactoryBean {
+        public GeronimoJaxWsServerFactoryBean() {
+            // disable CXF resource injection
+            doInit = false;
+        }
+    }
+    
     protected void doPublish(String address) {
-        JaxWsServerFactoryBean svrFactory = new JaxWsServerFactoryBean();
+        JaxWsServerFactoryBean svrFactory = new GeronimoJaxWsServerFactoryBean();
         svrFactory.setBus(bus);
         svrFactory.setAddress(address);
         svrFactory.setServiceFactory(serviceFactory);



Mime
View raw message