Repository: cxf
Updated Branches:
refs/heads/3.0.x-fixes cfde47b86 - aca6e050f
[CXF-6078] Checking service class interfaces if one of its non-interface super
classes has no expected JAX-RS annotated method
Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/aca6e050
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/aca6e050
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/aca6e050
Branch: refs/heads/3.0.x-fixes
Commit: aca6e050f16e438884fffd40d3612c974cd8b1c2
Parents: 1382c55
Author: Sergey Beryozkin sberyoz...@talend.com
Authored: Wed Nov 5 11:19:04 2014 +
Committer: Sergey Beryozkin sberyoz...@talend.com
Committed: Wed Nov 5 11:20:33 2014 +
--
.../systest/jaxrs/AbstractNameServiceImpl.java | 30 ++
.../apache/cxf/systest/jaxrs/NameService.java | 43
.../cxf/systest/jaxrs/NameServiceImpl.java | 31 ++
3 files changed, 104 insertions(+)
--
http://git-wip-us.apache.org/repos/asf/cxf/blob/aca6e050/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/AbstractNameServiceImpl.java
--
diff --git
a/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/AbstractNameServiceImpl.java
b/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/AbstractNameServiceImpl.java
new file mode 100644
index 000..a8d7c01
--- /dev/null
+++
b/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/AbstractNameServiceImpl.java
@@ -0,0 +1,30 @@
+/**
+ * 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.systest.jaxrs;
+
+import javax.ws.rs.core.Response;
+
+public abstract class AbstractNameServiceImpl {
+
+public Response set(String id) {
+return Response.ok(id).build();
+}
+
+}
http://git-wip-us.apache.org/repos/asf/cxf/blob/aca6e050/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/NameService.java
--
diff --git
a/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/NameService.java
b/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/NameService.java
new file mode 100644
index 000..5302b90
--- /dev/null
+++ b/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/NameService.java
@@ -0,0 +1,43 @@
+/**
+ * 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.systest.jaxrs;
+
+import javax.ws.rs.Consumes;
+import javax.ws.rs.GET;
+import javax.ws.rs.PUT;
+import javax.ws.rs.Path;
+import javax.ws.rs.PathParam;
+import javax.ws.rs.Produces;
+import javax.ws.rs.core.Response;
+
+@Path(/v1/names/)
+@Produces({ application/xml, application/json })
+@Consumes({ application/xml, application/json })
+public interface NameService {
+
+@GET
+@Path(/{id})
+Response get(@PathParam(id) String id);
+
+@PUT
+@Path(/{id})
+Response set(@PathParam(id) String id);
+
+}
http://git-wip-us.apache.org/repos/asf/cxf/blob/aca6e050/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/NameServiceImpl.java
--
diff --git
a/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/NameServiceImpl.java