[jbossws-commits] JBossWS SVN: r15111 - in stack/cxf/trunk/modules: testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/logging and 1 other directory.
jbossws-commits at lists.jboss.org
jbossws-commits at lists.jboss.org
Mon Oct 17 06:05:09 EDT 2011
Author: richard.opalka at jboss.com
Date: 2011-10-17 06:05:09 -0400 (Mon, 17 Oct 2011)
New Revision: 15111
Removed:
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/logging/JDKLoggingTestCase.java
Modified:
stack/cxf/trunk/modules/server/src/main/resources/jbossws-cxf-config-as6.xml
Log:
[JBWS-3205] getting rid of org.jboss.ws.common.logging package
Modified: stack/cxf/trunk/modules/server/src/main/resources/jbossws-cxf-config-as6.xml
===================================================================
--- stack/cxf/trunk/modules/server/src/main/resources/jbossws-cxf-config-as6.xml 2011-10-17 09:25:32 UTC (rev 15110)
+++ stack/cxf/trunk/modules/server/src/main/resources/jbossws-cxf-config-as6.xml 2011-10-17 10:05:09 UTC (rev 15111)
@@ -10,15 +10,6 @@
<property name="mbeanServer"><inject bean="WSMBeanServerLocator" property="mbeanServer"/></property>
</bean>
- <!-- Logging redirector -->
- <bean name="JDKLogRedirector" class="org.jboss.ws.common.logging.JDKLogRedirector">
- <property name="namespaces">
- <list class="java.util.LinkedList" elementClass="java.lang.String">
- <value>org.apache.cxf</value>
- </list>
- </property>
- </bean>
-
<!-- This should actually be in the stack-agnostic config file, it's here to avoid installing a CI -->
<bean name="WSDescriptorParser" class="org.jboss.ws.common.deployment.WebservicesDescriptorParserImpl">
<property name="descriptorName">webservices.xml</property>
Deleted: stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/logging/JDKLoggingTestCase.java
===================================================================
--- stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/logging/JDKLoggingTestCase.java 2011-10-17 09:25:32 UTC (rev 15110)
+++ stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/logging/JDKLoggingTestCase.java 2011-10-17 10:05:09 UTC (rev 15111)
@@ -1,59 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2006, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.test.ws.jaxws.cxf.logging;
-
-import java.util.logging.Handler;
-import java.util.logging.Logger;
-
-import org.jboss.ws.common.logging.JDKLogHandler;
-import org.jboss.wsf.test.JBossWSTest;
-
-/**
- * Test redirection of JDK logging on the client side
- *
- * @author Thomas.Diesler at jboss.org
- * @since 18-Dec-2007
- */
-public class JDKLoggingTestCase extends JBossWSTest
-{
- public void testLogging() throws Exception
- {
- Logger log = Logger.getLogger(JDKLoggingTestCase.class.getName());
- assertHandlers(log);
-
- log = Logger.getLogger(JDKLoggingTestCase.class.getName());
- assertHandlers(log);
-
- log.info("test message");
- }
-
- private void assertHandlers(Logger log)
- {
- int found = 0;
- for (Handler handler : log.getHandlers())
- {
- if (handler instanceof JDKLogHandler)
- found++;
- }
- assertEquals("Expected one jboss handler", 1, found);
- }
-}
More information about the jbossws-commits
mailing list