org.codehaus.xfire.plexus
Class StandaloneXFireServlet

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

public class StandaloneXFireServlet
extends org.codehaus.xfire.transport.http.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

Field Summary
(package private)  StandaloneXFire xfire
           
 
Constructor Summary
StandaloneXFireServlet()
           
 
Method Summary
 void destroy()
           
 org.codehaus.xfire.service.ServiceRegistry getServiceRegistry()
           
protected  org.codehaus.xfire.transport.TransportManager getTransportManager()
           
 org.codehaus.xfire.XFire getXFire()
           
 void init()
           
 
Methods inherited from class org.codehaus.xfire.transport.http.XFireServlet
doGet, doPost, generateWSDL, getRequest, getWebappBase, invoke
 
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
 

Field Detail

xfire

StandaloneXFire xfire
Constructor Detail

StandaloneXFireServlet

public StandaloneXFireServlet()
Method Detail

getXFire

public org.codehaus.xfire.XFire getXFire()
                                  throws javax.servlet.ServletException
Overrides:
getXFire in class org.codehaus.xfire.transport.http.XFireServlet
javax.servlet.ServletException

init

public void init()
          throws javax.servlet.ServletException
Overrides:
init in class org.codehaus.xfire.transport.http.XFireServlet
javax.servlet.ServletException

getTransportManager

protected org.codehaus.xfire.transport.TransportManager getTransportManager()
                                                                     throws javax.servlet.ServletException
Overrides:
getTransportManager in class org.codehaus.xfire.transport.http.XFireServlet
Returns:
Throws:
java.lang.Exception
javax.servlet.ServletException

getServiceRegistry

public org.codehaus.xfire.service.ServiceRegistry getServiceRegistry()
                                                              throws javax.servlet.ServletException
Overrides:
getServiceRegistry in class org.codehaus.xfire.transport.http.XFireServlet
javax.servlet.ServletException

destroy

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


Copyright © 2004 Codehaus. All Rights Reserved.