org.codehaus.xfire.plexus
Class StandaloneXFireServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.codehaus.xfire.transport.http.XFireServlet
              extended by org.codehaus.xfire.plexus.StandaloneXFireServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class StandaloneXFireServlet
extends XFireServlet

Creates an embedded version of XFire within a servlet. For most applications this will probably be sufficient. For more advanced container usages, see the XFireServlet and Plexus documentation.

Author:
Dan Diephouse
See Also:
Serialized Form

Constructor Summary
StandaloneXFireServlet()
           
 
Method Summary
 XFire createXFire()
           
 void destroy()
           
 ServiceRegistry getServiceRegistry()
           
protected  TransportManager getTransportManager()
           
 java.io.File getWebappBase()
           
 XFire getXFire()
           
 
Methods inherited from class org.codehaus.xfire.transport.http.XFireServlet
createController, doGet, doPost, init
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, 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

StandaloneXFireServlet

public StandaloneXFireServlet()
Method Detail

getXFire

public XFire getXFire()
               throws javax.servlet.ServletException
Throws:
javax.servlet.ServletException

getWebappBase

public java.io.File getWebappBase()

createXFire

public XFire createXFire()
                  throws javax.servlet.ServletException
Overrides:
createXFire in class XFireServlet
Throws:
javax.servlet.ServletException

getTransportManager

protected TransportManager getTransportManager()
                                        throws javax.servlet.ServletException
Returns:
Throws:
java.lang.Exception
javax.servlet.ServletException

getServiceRegistry

public ServiceRegistry getServiceRegistry()
                                   throws javax.servlet.ServletException
Throws:
javax.servlet.ServletException

destroy

public void destroy()
Specified by:
destroy in interface javax.servlet.Servlet
Overrides:
destroy in class javax.servlet.GenericServlet