org.codehaus.ivory.plexus
Class PlexusAxisServlet

java.lang.Object
  |
  +--javax.servlet.GenericServlet
        |
        +--javax.servlet.http.HttpServlet
              |
              +--org.apache.axis.transport.http.AxisServletBase
                    |
                    +--org.apache.axis.transport.http.AxisServlet
                          |
                          +--org.codehaus.ivory.plexus.PlexusAxisServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class PlexusAxisServlet
extends org.apache.axis.transport.http.AxisServlet

An implementation of the Axis AxisServlet which retrieves the AxisEngine from the ServiceManager.

Since:
Mar 8, 2003
Author:
Dan Diephouse
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.axis.transport.http.AxisServlet
INIT_PROPERTY_ENABLE_LIST, INIT_PROPERTY_JWS_CLASS_DIR, INIT_PROPERTY_TRANSPORT_NAME, INIT_PROPERTY_USE_SECURITY, log
 
Fields inherited from class org.apache.axis.transport.http.AxisServletBase
ATTR_AXIS_ENGINE, axisServer
 
Constructor Summary
PlexusAxisServlet()
           
 
Method Summary
 void destroy()
           
 org.apache.axis.server.AxisServer getEngine()
          Provide the AxisEngine to the base servlet class.
 org.apache.avalon.framework.service.ServiceManager getServiceManager()
          Retrieve the ServiceBroker from the ServletContext.
protected  void processListRequest(javax.servlet.http.HttpServletResponse response, java.io.PrintWriter writer)
          respond to the ?list command.
 
Methods inherited from class org.apache.axis.transport.http.AxisServlet
doGet, doPost, getDefaultJWSClassDir, getHttpServletResponseStatus, getJWSClassDir, getProtocolVersion, init, invokeEndpointFromGet, logException, processAxisFault, processMethodRequest, processWsdlRequest, reportAvailableServices, reportCantGetAxisService, reportCantGetJWSService, reportNoWSDL, reportServiceInfo
 
Methods inherited from class org.apache.axis.transport.http.AxisServletBase
decLockCounter, getEngine, getEngineEnvironment, getHomeDir, getLoadCounter, getOption, getServletContext, getWebappBase, getWebInfPath, incLockCounter, isDevelopment, service
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service
 
Methods inherited from class javax.servlet.GenericServlet
getInitParameter, getInitParameterNames, getServletConfig, getServletInfo, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlexusAxisServlet

public PlexusAxisServlet()
Method Detail

getEngine

public org.apache.axis.server.AxisServer getEngine()
                                            throws org.apache.axis.AxisFault
Provide the AxisEngine to the base servlet class.

Overrides:
getEngine in class org.apache.axis.transport.http.AxisServletBase
Returns:
AxisServer
org.apache.axis.AxisFault
See Also:
AxisServletBase.getEngine()

getServiceManager

public org.apache.avalon.framework.service.ServiceManager getServiceManager()
Retrieve the ServiceBroker from the ServletContext. This presupposes that the installation is using Plexus.

Returns:
ServiceBroker

destroy

public void destroy()
Specified by:
destroy in interface javax.servlet.Servlet
Overrides:
destroy in class org.apache.axis.transport.http.AxisServletBase

processListRequest

protected void processListRequest(javax.servlet.http.HttpServletResponse response,
                                  java.io.PrintWriter writer)
                           throws org.apache.axis.AxisFault
respond to the ?list command. if enableList is set, we list the engine config. If it isnt, then an error is written out

Overrides:
processListRequest in class org.apache.axis.transport.http.AxisServlet
Parameters:
response -
writer -
Throws:
org.apache.axis.AxisFault


Copyright © -2003 Codehaus. All Rights Reserved.