org.codehaus.ivory.plexus
Class PlexusAxisServlet

java.lang.Object
  extended byjavax.servlet.GenericServlet
      extended byjavax.servlet.http.HttpServlet
          extended byorg.apache.axis.transport.http.AxisServletBase
              extended byorg.apache.axis.transport.http.AxisServlet
                  extended byorg.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_DISABLE_SERVICES_LIST, 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.
protected  java.lang.String getOption(javax.servlet.ServletContext context, java.lang.String param, java.lang.String dephault)
          respond to the ?list command.
 org.apache.avalon.framework.service.ServiceManager getServiceManager()
          Retrieve the ServiceBroker from the ServletContext.
 
Methods inherited from class org.apache.axis.transport.http.AxisServlet
doGet, doPost, getDefaultJWSClassDir, getHttpServletResponseStatus, getJWSClassDir, init, initQueryStringHandlers, logException, processAxisFault, reportAvailableServices, reportCantGetAxisService, reportCantGetJWSService, reportNoWSDL, reportServiceInfo
 
Methods inherited from class org.apache.axis.transport.http.AxisServletBase
decLockCounter, getEngine, getEngineEnvironment, getHomeDir, getLoadCounter, 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.

Returns:
AxisServer
Throws:
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()

getOption

protected java.lang.String getOption(javax.servlet.ServletContext context,
                                     java.lang.String param,
                                     java.lang.String dephault)
respond to the ?list command. if enableList is set, we list the engine config. If it isnt, then an error is written out

Throws:
org.apache.axis.AxisFault


Copyright © -2004 Codehaus. All Rights Reserved.