com.caucho.remote.server
Interface WebServiceServletFactory

All Known Implementing Classes:
HessianWebServiceServletFactory

public interface WebServiceServletFactory

A factory for creating @WebService servlets.


Method Summary
 Servlet createServlet(java.lang.Class<?> webServiceClass, java.lang.Object service)
          Creates a new servlet skeleton based on an API and an object
 

Method Detail

createServlet

Servlet createServlet(java.lang.Class<?> webServiceClass,
                      java.lang.Object service)
                      throws ServiceException
Creates a new servlet skeleton based on an API and an object

Parameters:
webServiceClass - the remoteApi exposed to the server
service - the managed service object
Throws:
ServiceException