Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 74720 invoked from network); 16 Aug 2009 11:28:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 16 Aug 2009 11:28:06 -0000 Received: (qmail 87468 invoked by uid 500); 16 Aug 2009 11:28:12 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 87299 invoked by uid 500); 16 Aug 2009 11:28:12 -0000 Mailing-List: contact axis-cvs-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-cvs@ws.apache.org Received: (qmail 87289 invoked by uid 500); 16 Aug 2009 11:28:12 -0000 Delivered-To: apmail-ws-axis2-cvs@ws.apache.org Received: (qmail 87286 invoked by uid 99); 16 Aug 2009 11:28:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 16 Aug 2009 11:28:12 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 16 Aug 2009 11:28:09 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 95C3F23888DC; Sun, 16 Aug 2009 11:27:49 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r804666 - in /webservices/axis2/trunk/java/modules/webapp/src/main/java/org/apache/axis2/transport: ./ http/ http/AxisAdminServlet.java Date: Sun, 16 Aug 2009 11:27:49 -0000 To: axis2-cvs@ws.apache.org From: veithen@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090816112749.95C3F23888DC@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: veithen Date: Sun Aug 16 11:27:49 2009 New Revision: 804666 URL: http://svn.apache.org/viewvc?rev=804666&view=rev Log: AXIS2-4464: Added org.apache.axis2.transport.http.AxisAdminServlet (extending org.apache.axis2.webapp.AxisAdminServlet) for compatibility with Web applications and tools written for Axis2 1.4. Added: webservices/axis2/trunk/java/modules/webapp/src/main/java/org/apache/axis2/transport/ webservices/axis2/trunk/java/modules/webapp/src/main/java/org/apache/axis2/transport/http/ webservices/axis2/trunk/java/modules/webapp/src/main/java/org/apache/axis2/transport/http/AxisAdminServlet.java (with props) Added: webservices/axis2/trunk/java/modules/webapp/src/main/java/org/apache/axis2/transport/http/AxisAdminServlet.java URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/webapp/src/main/java/org/apache/axis2/transport/http/AxisAdminServlet.java?rev=804666&view=auto ============================================================================== --- webservices/axis2/trunk/java/modules/webapp/src/main/java/org/apache/axis2/transport/http/AxisAdminServlet.java (added) +++ webservices/axis2/trunk/java/modules/webapp/src/main/java/org/apache/axis2/transport/http/AxisAdminServlet.java Sun Aug 16 11:27:49 2009 @@ -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.axis2.transport.http; + +import javax.servlet.ServletException; + +import org.apache.commons.logging.Log; +import org.apache.commons.logging.LogFactory; + +/** + * Extends {@link org.apache.axis2.webapp.AxisAdminServlet} for compatibility with Web applications + * and tools written for Axis2 versions prior to 1.5. + */ +public class AxisAdminServlet extends org.apache.axis2.webapp.AxisAdminServlet { + private static final long serialVersionUID = 3038257566847798292L; + + private static final Log log = LogFactory.getLog(AxisAdminServlet.class); + + @Override + public void init() throws ServletException { + super.init(); + log.warn("Web application uses " + AxisAdminServlet.class.getName() + + "; please update web.xml to use " + + org.apache.axis2.webapp.AxisAdminServlet.class.getName() + " instead"); + } +} Propchange: webservices/axis2/trunk/java/modules/webapp/src/main/java/org/apache/axis2/transport/http/AxisAdminServlet.java ------------------------------------------------------------------------------ svn:eol-style = native