cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject [2/2] cxf git commit: [CXF-6411] Removing the test listener
Date Tue, 19 May 2015 09:18:41 GMT
[CXF-6411] Removing the test listener


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/5d21522a
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/5d21522a
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/5d21522a

Branch: refs/heads/3.0.x-fixes
Commit: 5d21522a4fbf16e0bc526e441ef261b638d6fafb
Parents: 7169c7d
Author: Sergey Beryozkin <sberyozkin@talend.com>
Authored: Tue May 19 10:16:57 2015 +0100
Committer: Sergey Beryozkin <sberyozkin@talend.com>
Committed: Tue May 19 10:18:20 2015 +0100

----------------------------------------------------------------------
 .../jaxrs/JAXRSBlueprintContextListener.java    | 48 --------------------
 1 file changed, 48 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/5d21522a/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSBlueprintContextListener.java
----------------------------------------------------------------------
diff --git a/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSBlueprintContextListener.java
b/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSBlueprintContextListener.java
deleted file mode 100644
index 366a27e..0000000
--- a/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSBlueprintContextListener.java
+++ /dev/null
@@ -1,48 +0,0 @@
-/**
- * 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 java.net.URI;
-
-import javax.servlet.ServletContext;
-
-import org.apache.aries.blueprint.container.SimpleNamespaceHandlerSet;
-import org.apache.aries.blueprint.parser.NamespaceHandlerSet;
-import org.apache.aries.blueprint.web.BlueprintContextListener;
-import org.apache.cxf.internal.CXFAPINamespaceHandler;
-import org.apache.cxf.jaxrs.blueprint.JAXRSBPNamespaceHandler;
-import org.apache.cxf.jaxws.blueprint.JAXWSBPNamespaceHandler;
-
-public class JAXRSBlueprintContextListener extends BlueprintContextListener {
-    @Override
-    protected NamespaceHandlerSet getNamespaceHandlerSet(ServletContext sc, ClassLoader tccl)
{
-        SimpleNamespaceHandlerSet set = new SimpleNamespaceHandlerSet();
-        
-        set.addNamespace(URI.create("http://cxf.apache.org/blueprint/core"),
-                         getClass().getResource("/schemas/blueprint/core.xsd"),
-                         new CXFAPINamespaceHandler());
-        set.addNamespace(URI.create("http://cxf.apache.org/blueprint/jaxrs"),
-                         getClass().getResource("/schemas/blueprint/jaxrs.xsd"),
-                         new JAXRSBPNamespaceHandler());
-        set.addNamespace(URI.create("http://cxf.apache.org/blueprint/jaxws"),
-                         getClass().getResource("/schemas/blueprint/jaxws.xsd"),
-                         new JAXWSBPNamespaceHandler());
-        return set;
-    }
-}


Mime
View raw message