org.codehaus.xfire.spring.remoting
Class XFireExporter
java.lang.Object
org.codehaus.xfire.spring.ServiceBean
org.codehaus.xfire.spring.remoting.XFireExporter
- All Implemented Interfaces:
- org.springframework.context.ApplicationContextAware, org.springframework.web.servlet.mvc.Controller, org.springframework.beans.factory.InitializingBean
- public class XFireExporter
- extends ServiceBean
- implements org.springframework.web.servlet.mvc.Controller
Web controller that exports the specified service bean as a XFire Soap service endpoint.
- Author:
- Dan Diephouse , Arjen Poutsma
Method Summary |
void |
afterPropertiesSet()
|
protected java.lang.Object |
getProxyForService()
|
org.springframework.web.servlet.ModelAndView |
handleRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Process the incoming SOAP request and create a SOAP response. |
void |
setServiceInterface(java.lang.Class intf)
This is just a convenience method which delegates to setServiceClass(). |
Methods inherited from class org.codehaus.xfire.spring.ServiceBean |
getBindings, getFaultHandlers, getImplementationClass, getInHandlers, getOutHandlers, getProperties, getSchemas, getScope, getServiceBean, getServiceClass, getServiceFactory, getStyle, getUse, getXfire, getXFireService, initializeBindings, isCreateDefaultBindings, setApplicationContext, setBindings, setCreateDefaultBindings, setFaultHandlers, setImplementationClass, setInHandlers, setName, setNamespace, setOutHandlers, setProperties, setSchemas, setScope, setServiceBean, setServiceClass, setServiceFactory, setStyle, setUse, setXfire |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XFireExporter
public XFireExporter()
afterPropertiesSet
public void afterPropertiesSet()
throws java.lang.Exception
- Specified by:
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
- Overrides:
afterPropertiesSet
in class ServiceBean
- Throws:
java.lang.Exception
handleRequest
public org.springframework.web.servlet.ModelAndView handleRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.lang.Exception
- Process the incoming SOAP request and create a SOAP response.
- Specified by:
handleRequest
in interface org.springframework.web.servlet.mvc.Controller
- Parameters:
request
- current HTTP requestresponse
- current HTTP response
- Returns:
null
- Throws:
java.lang.Exception
- in case of errors
getProxyForService
protected java.lang.Object getProxyForService()
- Overrides:
getProxyForService
in class ServiceBean
- Returns:
setServiceInterface
public void setServiceInterface(java.lang.Class intf)
- This is just a convenience method which delegates to setServiceClass().
- Parameters:
intf
-
Copyright © 2004-2006 null. All Rights Reserved.