com.atlassian.crowd.service.soap
Class SafeXmlXFireExporter

java.lang.Object
  extended by org.codehaus.xfire.spring.ServiceBean
      extended by com.atlassian.crowd.service.soap.SafeXmlXFireExporter
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware, org.springframework.web.context.ServletContextAware, org.springframework.web.servlet.mvc.Controller

public class SafeXmlXFireExporter
extends org.codehaus.xfire.spring.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

Field Summary
 
Fields inherited from class org.codehaus.xfire.spring.ServiceBean
createDefaultBindings, implementationClass, style, use, xFire
 
Constructor Summary
SafeXmlXFireExporter()
           
 
Method Summary
 void afterPropertiesSet()
           
protected  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(Class intf)
          This is just a convenience method which delegates to setServiceClass().
 void setServletContext(javax.servlet.ServletContext context)
           
 
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
 

Constructor Detail

SafeXmlXFireExporter

public SafeXmlXFireExporter()
Method Detail

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception
Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Overrides:
afterPropertiesSet in class org.codehaus.xfire.spring.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 request
response - current HTTP response
Returns:
null
Throws:
Exception - in case of errors

getProxyForService

protected Object getProxyForService()
Overrides:
getProxyForService in class org.codehaus.xfire.spring.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 © 2012 Atlassian. All Rights Reserved.