FileDocCategorySizeDatePackage
HessianServiceServlet.javaAPI DocApache Lucene 2.1.02591Wed Feb 14 10:46:00 GMT 2007org.apache.lucene.gdata.hivemind.servlet

HessianServiceServlet

public class HessianServiceServlet extends HttpServlet
Central Hessian servlet which provides access to all hessian exposed services via a single servlet.
author
Simon Willnauer

Fields Summary
private static final long
serialVersionUID
Constructors Summary
Methods Summary
protected voiddoPost(javax.servlet.http.HttpServletRequest arg0, javax.servlet.http.HttpServletResponse arg1)

see
javax.servlet.http.HttpServlet#doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)


                 
    
         
               
        try {
            HessianSkeletonProvider provider = getSkeletonProvider(arg0);
            HessianServiceSkeletonInvoker invoker = provider
                    .getServiceSkeletonInvoker(arg0);
            invoker.invoke(arg0, arg1);
        } catch (Throwable e) {
            throw new ServletException("Nested Exception occured -- Message: "
                    + e.getMessage(), e);
        }

    
private org.apache.lucene.gdata.hivemind.webservice.HessianSkeletonProvidergetSkeletonProvider(javax.servlet.http.HttpServletRequest request)

        Registry reg = HiveMindFilter.getRegistry(request);
        return (HessianSkeletonProvider) reg
                .getService(HessianSkeletonProvider.class);