Class BurlapServiceExporter

  extended by
      extended by
          extended by org.springframework.remoting.caucho.BurlapExporter
              extended by org.springframework.remoting.caucho.BurlapServiceExporter
All Implemented Interfaces:
BeanClassLoaderAware, InitializingBean, HttpRequestHandler

public class BurlapServiceExporter
extends BurlapExporter
implements HttpRequestHandler

Servlet-API-based HTTP request handler that exports the specified service bean as Burlap service endpoint, accessible via a Burlap proxy.

Note: Spring also provides an alternative version of this exporter, for Sun's JRE 1.6 HTTP server: SimpleBurlapServiceExporter.

Burlap is a slim, XML-based RPC protocol. For information on Burlap, see the Burlap website.

This exporter will work with both Burlap 2.x and 3.x (respectively Resin 2.x and 3.x), autodetecting the corresponding skeleton class.

Note: Burlap services exported with this class can be accessed by any Burlap client, as there isn't any special handling involved.

Juergen Hoeller
See Also:
BurlapClientInterceptor, BurlapProxyFactoryBean, HessianServiceExporter, HttpInvokerServiceExporter, RmiServiceExporter

Field Summary
Fields inherited from class
Constructor Summary
Method Summary
 void handleRequest(HttpServletRequest request, HttpServletResponse response)
          Processes the incoming Burlap request and creates a Burlap response.
Methods inherited from class org.springframework.remoting.caucho.BurlapExporter
afterPropertiesSet, invoke, prepare
Methods inherited from class
checkService, checkServiceInterface, getExporterName, getProxyForService, getService, getServiceInterface, setInterceptors, setRegisterTraceInterceptor, setService, setServiceInterface
Methods inherited from class
getBeanClassLoader, overrideThreadContextClassLoader, resetThreadContextClassLoader, setBeanClassLoader
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public BurlapServiceExporter()
Method Detail


public void handleRequest(HttpServletRequest request,
                          HttpServletResponse response)
                   throws ServletException,
Processes the incoming Burlap request and creates a Burlap response.

Specified by:
handleRequest in interface HttpRequestHandler
request - current HTTP request
response - current HTTP response
ServletException - in case of general errors
IOException - in case of I/O errors

Copyright © 2002-2008 The Spring Framework.