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.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware, org.springframework.web.context.ServletContextAware, org.springframework.web.servlet.mvc.Controller
public class XFireExporter
- extends ServiceBean
- implements org.springframework.web.servlet.mvc.Controller, org.springframework.web.context.ServletContextAware
Web controller that exports the specified service bean as a XFire Soap service endpoint.
- Author:
- Dan Diephouse , Arjen Poutsma
Methods inherited from class org.codehaus.xfire.spring.ServiceBean |
getBindings, getExecutor, getFaultHandlers, getImplementationClass, getInHandlers, getInvoker, getMethods, getOutHandlers, getProperties, getSchemas, getScope, getServiceBean, getServiceClass, getServiceFactory, getStyle, getUse, getWsdlURL, getXfire, getXFireService, initializeBindings, isCreateDefaultBindings, setApplicationContext, setBindings, setCreateDefaultBindings, setExecutor, setFaultHandlers, setImplementationClass, setInHandlers, setInvoker, setMethods, setName, setNamespace, setOutHandlers, setProperties, setSchemas, setScope, setServiceBean, setServiceClass, setServiceFactory, setStyle, setUse, setWsdlURL, 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 Exception
- Specified by:
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
- Overrides:
afterPropertiesSet
in class ServiceBean
- Throws:
Exception
handleRequest
public org.springframework.web.servlet.ModelAndView handleRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws 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:
Exception
- in case of errors
getProxyForService
protected Object getProxyForService()
- Overrides:
getProxyForService
in class ServiceBean
- Returns:
setServiceInterface
public void setServiceInterface(Class intf)
- This is just a convenience method which delegates to setServiceClass().
- Parameters:
intf
-
setServletContext
public void setServletContext(javax.servlet.ServletContext context)
- Specified by:
setServletContext
in interface org.springframework.web.context.ServletContextAware
Copyright © 2004-2013. All Rights Reserved.