cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vgritse...@apache.org
Subject svn commit: r587723 - /cocoon/trunk/blocks/cocoon-axis/cocoon-axis-impl/src/main/java/org/apache/cocoon/components/axis/SoapServerImpl.java
Date Wed, 24 Oct 2007 00:51:28 GMT
Author: vgritsenko
Date: Tue Oct 23 17:51:27 2007
New Revision: 587723

URL: http://svn.apache.org/viewvc?rev=587723&view=rev
Log:
keep backward compatibility for deprecated LOGGER

Modified:
    cocoon/trunk/blocks/cocoon-axis/cocoon-axis-impl/src/main/java/org/apache/cocoon/components/axis/SoapServerImpl.java

Modified: cocoon/trunk/blocks/cocoon-axis/cocoon-axis-impl/src/main/java/org/apache/cocoon/components/axis/SoapServerImpl.java
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-axis/cocoon-axis-impl/src/main/java/org/apache/cocoon/components/axis/SoapServerImpl.java?rev=587723&r1=587722&r2=587723&view=diff
==============================================================================
--- cocoon/trunk/blocks/cocoon-axis/cocoon-axis-impl/src/main/java/org/apache/cocoon/components/axis/SoapServerImpl.java
(original)
+++ cocoon/trunk/blocks/cocoon-axis/cocoon-axis-impl/src/main/java/org/apache/cocoon/components/axis/SoapServerImpl.java
Tue Oct 23 17:51:27 2007
@@ -18,7 +18,11 @@
 
 import java.io.File;
 import java.io.InputStreamReader;
-import java.util.*;
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.Iterator;
+import java.util.List;
+import java.util.Map;
 import javax.servlet.ServletContext;
 import javax.servlet.http.HttpServletRequest;
 import javax.servlet.http.HttpServletResponse;
@@ -46,15 +50,17 @@
 import org.apache.axis.transport.http.HTTPTransport;
 import org.apache.axis.transport.http.ServletEndpointContextImpl;
 import org.apache.axis.utils.XMLUtils;
-import org.apache.cocoon.components.axis.providers.AvalonProvider;
-import org.apache.cocoon.configuration.Settings;
-import org.apache.cocoon.util.AbstractLogEnabled;
-import org.apache.cocoon.util.IOUtils;
 import org.apache.commons.lang.BooleanUtils;
 import org.apache.excalibur.source.Source;
 import org.apache.excalibur.source.SourceResolver;
 import org.apache.excalibur.xml.dom.DOMParser;
 
+import org.apache.cocoon.components.axis.providers.AvalonProvider;
+import org.apache.cocoon.configuration.Settings;
+import org.apache.cocoon.util.AbstractLogEnabled;
+import org.apache.cocoon.util.IOUtils;
+import org.apache.cocoon.util.avalon.CLLoggerWrapper;
+
 import org.w3c.dom.Document;
 import org.xml.sax.InputSource;
 
@@ -438,7 +444,7 @@
         msgContext.setTransportName(m_transportName);
 
         // Add Avalon specifics to MessageContext
-        msgContext.setProperty(LOGGER, getLogger());
+        msgContext.setProperty(LOGGER, new CLLoggerWrapper(getLogger()));
         msgContext.setProperty(AvalonProvider.SERVICE_MANAGER, this.manager);
 
         // Save some HTTP specific info in the bag in case someone needs it



Mime
View raw message