cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bimargul...@apache.org
Subject svn commit: r630711 - in /incubator/cxf/trunk/rt/databinding/aegis/src/main/java/org/apache/cxf/aegis/databinding: AegisServiceConfiguration.java XFireCompatibilityServiceConfiguration.java
Date Mon, 25 Feb 2008 00:26:33 GMT
Author: bimargulies
Date: Sun Feb 24 16:26:31 2008
New Revision: 630711

URL: http://svn.apache.org/viewvc?rev=630711&view=rev
Log:
Deconfuse the name of AegisServiceConfiguration.

Added:
    incubator/cxf/trunk/rt/databinding/aegis/src/main/java/org/apache/cxf/aegis/databinding/XFireCompatibilityServiceConfiguration.java
  (with props)
Modified:
    incubator/cxf/trunk/rt/databinding/aegis/src/main/java/org/apache/cxf/aegis/databinding/AegisServiceConfiguration.java

Modified: incubator/cxf/trunk/rt/databinding/aegis/src/main/java/org/apache/cxf/aegis/databinding/AegisServiceConfiguration.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/databinding/aegis/src/main/java/org/apache/cxf/aegis/databinding/AegisServiceConfiguration.java?rev=630711&r1=630710&r2=630711&view=diff
==============================================================================
--- incubator/cxf/trunk/rt/databinding/aegis/src/main/java/org/apache/cxf/aegis/databinding/AegisServiceConfiguration.java
(original)
+++ incubator/cxf/trunk/rt/databinding/aegis/src/main/java/org/apache/cxf/aegis/databinding/AegisServiceConfiguration.java
Sun Feb 24 16:26:31 2008
@@ -20,7 +20,10 @@
 
 import org.apache.cxf.aegis.util.NamespaceHelper;
 import org.apache.cxf.service.factory.AbstractServiceConfiguration;
-
+/**
+ * Obsolete copy of {@link XFireCompatibilityServiceConfiguration}.
+ * @deprecated 2.1
+ */
 public class AegisServiceConfiguration extends AbstractServiceConfiguration {
 
     @Override

Added: incubator/cxf/trunk/rt/databinding/aegis/src/main/java/org/apache/cxf/aegis/databinding/XFireCompatibilityServiceConfiguration.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/databinding/aegis/src/main/java/org/apache/cxf/aegis/databinding/XFireCompatibilityServiceConfiguration.java?rev=630711&view=auto
==============================================================================
--- incubator/cxf/trunk/rt/databinding/aegis/src/main/java/org/apache/cxf/aegis/databinding/XFireCompatibilityServiceConfiguration.java
(added)
+++ incubator/cxf/trunk/rt/databinding/aegis/src/main/java/org/apache/cxf/aegis/databinding/XFireCompatibilityServiceConfiguration.java
Sun Feb 24 16:26:31 2008
@@ -0,0 +1,40 @@
+/**
+ * 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.aegis.databinding;
+
+import org.apache.cxf.aegis.util.NamespaceHelper;
+import org.apache.cxf.service.factory.AbstractServiceConfiguration;
+
+/**
+ * This service configuration uses XFire-compatible conventions for assigning namespace URI's
to Java packages
+ * when naming services.
+ */
+public class XFireCompatibilityServiceConfiguration extends AbstractServiceConfiguration
{
+
+    @Override
+    public String getServiceNamespace() {
+        String ret = super.getServiceNamespace();
+        if (ret == null) {
+            ret = NamespaceHelper.makeNamespaceFromClassName(getServiceFactory().getServiceClass().getName(),
+                                                          "http");
+        }
+        return ret;
+    }
+
+}
\ No newline at end of file

Propchange: incubator/cxf/trunk/rt/databinding/aegis/src/main/java/org/apache/cxf/aegis/databinding/XFireCompatibilityServiceConfiguration.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/rt/databinding/aegis/src/main/java/org/apache/cxf/aegis/databinding/XFireCompatibilityServiceConfiguration.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date



Mime
View raw message