cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r506573 - in /incubator/cxf/trunk/rt: core/src/main/java/org/apache/cxf/transport/http/ frontend/jaxws/src/test/java/org/apache/cxf/jaxws/spring/
Date Mon, 12 Feb 2007 18:44:09 GMT
Author: dkulp
Date: Mon Feb 12 10:44:08 2007
New Revision: 506573

URL: http://svn.apache.org/viewvc?view=rev&rev=506573
Log:
Fix svn properties

Modified:
    incubator/cxf/trunk/rt/core/src/main/java/org/apache/cxf/transport/http/QueryHandlerRegistryImpl.java
  (contents, props changed)
    incubator/cxf/trunk/rt/core/src/main/java/org/apache/cxf/transport/http/WSDLQueryHandler.java
  (contents, props changed)
    incubator/cxf/trunk/rt/frontend/jaxws/src/test/java/org/apache/cxf/jaxws/spring/endpoints.xml
  (props changed)

Modified: incubator/cxf/trunk/rt/core/src/main/java/org/apache/cxf/transport/http/QueryHandlerRegistryImpl.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/core/src/main/java/org/apache/cxf/transport/http/QueryHandlerRegistryImpl.java?view=diff&rev=506573&r1=506572&r2=506573
==============================================================================
--- incubator/cxf/trunk/rt/core/src/main/java/org/apache/cxf/transport/http/QueryHandlerRegistryImpl.java
(original)
+++ incubator/cxf/trunk/rt/core/src/main/java/org/apache/cxf/transport/http/QueryHandlerRegistryImpl.java
Mon Feb 12 10:44:08 2007
@@ -1,73 +1,73 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package org.apache.cxf.transport.http;
-
-import java.util.ArrayList;
-import java.util.List;
-
-import javax.annotation.PostConstruct;
-import javax.annotation.Resource;
-
-import org.apache.cxf.Bus;
-import org.apache.cxf.transports.http.QueryHandler;
-import org.apache.cxf.transports.http.QueryHandlerRegistry;
-
-public class QueryHandlerRegistryImpl implements QueryHandlerRegistry {
-    
-    List<QueryHandler> queryHandlers;
-    Bus bus;
-    
-    @PostConstruct
-    public void register() {
-        if (null != bus) {
-            bus.setExtension(this, QueryHandlerRegistry.class);
-        }
-    }
-    
-    @PostConstruct
-    public void init() {
-        queryHandlers = new ArrayList<QueryHandler>();
-        registerHandler(new WSDLQueryHandler());
-    }
-
-
-    public List<QueryHandler> getHandlers() {
-        return queryHandlers;
-    }
-
-    public void registerHandler(QueryHandler handler) {
-        queryHandlers.add(handler);
-    }
-
-    public void registerHandler(QueryHandler handler, int position) {
-        queryHandlers.add(position, handler);
-    }
-    
-    @Resource
-    public void setBus(Bus b) {
-        bus = b;
-    }
-
-    public Bus getBus() {
-        return bus;
-    }
-
-}
-
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.cxf.transport.http;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import javax.annotation.PostConstruct;
+import javax.annotation.Resource;
+
+import org.apache.cxf.Bus;
+import org.apache.cxf.transports.http.QueryHandler;
+import org.apache.cxf.transports.http.QueryHandlerRegistry;
+
+public class QueryHandlerRegistryImpl implements QueryHandlerRegistry {
+    
+    List<QueryHandler> queryHandlers;
+    Bus bus;
+    
+    @PostConstruct
+    public void register() {
+        if (null != bus) {
+            bus.setExtension(this, QueryHandlerRegistry.class);
+        }
+    }
+    
+    @PostConstruct
+    public void init() {
+        queryHandlers = new ArrayList<QueryHandler>();
+        registerHandler(new WSDLQueryHandler());
+    }
+
+
+    public List<QueryHandler> getHandlers() {
+        return queryHandlers;
+    }
+
+    public void registerHandler(QueryHandler handler) {
+        queryHandlers.add(handler);
+    }
+
+    public void registerHandler(QueryHandler handler, int position) {
+        queryHandlers.add(position, handler);
+    }
+    
+    @Resource
+    public void setBus(Bus b) {
+        bus = b;
+    }
+
+    public Bus getBus() {
+        return bus;
+    }
+
+}
+

Propchange: incubator/cxf/trunk/rt/core/src/main/java/org/apache/cxf/transport/http/QueryHandlerRegistryImpl.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/rt/core/src/main/java/org/apache/cxf/transport/http/QueryHandlerRegistryImpl.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Modified: incubator/cxf/trunk/rt/core/src/main/java/org/apache/cxf/transport/http/WSDLQueryHandler.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/core/src/main/java/org/apache/cxf/transport/http/WSDLQueryHandler.java?view=diff&rev=506573&r1=506572&r2=506573
==============================================================================
--- incubator/cxf/trunk/rt/core/src/main/java/org/apache/cxf/transport/http/WSDLQueryHandler.java
(original)
+++ incubator/cxf/trunk/rt/core/src/main/java/org/apache/cxf/transport/http/WSDLQueryHandler.java
Mon Feb 12 10:44:08 2007
@@ -1,60 +1,60 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package org.apache.cxf.transport.http;
-
-import java.io.OutputStream;
-
-import javax.wsdl.Definition;
-import javax.wsdl.WSDLException;
-import javax.wsdl.factory.WSDLFactory;
-import javax.wsdl.xml.WSDLWriter;
-
-import org.apache.cxf.service.model.EndpointInfo;
-import org.apache.cxf.transports.http.QueryHandler;
-import org.apache.cxf.wsdl11.ServiceWSDLBuilder;
-
-public class WSDLQueryHandler implements QueryHandler {
-
-    public String getResponseContentType(String uri) {
-        if (uri.toLowerCase().endsWith("?wsdl")) {
-            return "text/xml";
-        }
-        return null;
-    }
-
-    public boolean isRecognizedQuery(String uri, EndpointInfo endpointInfo) {
-        if (uri != null && uri.toLowerCase().endsWith("?wsdl")) {
-            String addressContext = uri.substring(0, uri.length() - 5);            
-            return endpointInfo.getAddress().contains(addressContext);
-        }
-        return false;
-    }
-
-    public void writeResponse(String queryURI, EndpointInfo endpointInfo, OutputStream os)
{
-        try {
-            WSDLWriter wsdlWriter = WSDLFactory.newInstance().newWSDLWriter();
-            Definition def = new ServiceWSDLBuilder(endpointInfo.getService()).build();
-            wsdlWriter.writeWSDL(def, os);
-        } catch (WSDLException wex) {
-            wex.printStackTrace();
-        }
-    }
-
-}
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.cxf.transport.http;
+
+import java.io.OutputStream;
+
+import javax.wsdl.Definition;
+import javax.wsdl.WSDLException;
+import javax.wsdl.factory.WSDLFactory;
+import javax.wsdl.xml.WSDLWriter;
+
+import org.apache.cxf.service.model.EndpointInfo;
+import org.apache.cxf.transports.http.QueryHandler;
+import org.apache.cxf.wsdl11.ServiceWSDLBuilder;
+
+public class WSDLQueryHandler implements QueryHandler {
+
+    public String getResponseContentType(String uri) {
+        if (uri.toLowerCase().endsWith("?wsdl")) {
+            return "text/xml";
+        }
+        return null;
+    }
+
+    public boolean isRecognizedQuery(String uri, EndpointInfo endpointInfo) {
+        if (uri != null && uri.toLowerCase().endsWith("?wsdl")) {
+            String addressContext = uri.substring(0, uri.length() - 5);            
+            return endpointInfo.getAddress().contains(addressContext);
+        }
+        return false;
+    }
+
+    public void writeResponse(String queryURI, EndpointInfo endpointInfo, OutputStream os)
{
+        try {
+            WSDLWriter wsdlWriter = WSDLFactory.newInstance().newWSDLWriter();
+            Definition def = new ServiceWSDLBuilder(endpointInfo.getService()).build();
+            wsdlWriter.writeWSDL(def, os);
+        } catch (WSDLException wex) {
+            wex.printStackTrace();
+        }
+    }
+
+}

Propchange: incubator/cxf/trunk/rt/core/src/main/java/org/apache/cxf/transport/http/WSDLQueryHandler.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/rt/core/src/main/java/org/apache/cxf/transport/http/WSDLQueryHandler.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/rt/frontend/jaxws/src/test/java/org/apache/cxf/jaxws/spring/endpoints.xml
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message