@@ -0,0 +1,1344 @@
+package cn.ai.ebs.npf;%0A%0Aimport com.github.bingoohuang.blackcat.javaagent.callback.Blackcat;%0Aimport org.springframework.remoting.caucho.HessianServiceExporter;%0Aimport org.springframework.web.HttpRequestMethodNotSupportedException;%0Aimport org.springframework.web.util.NestedServletException;%0A%0Aimport javax.servlet.ServletException;%0Aimport javax.servlet.http.HttpServletRequest;%0Aimport javax.servlet.http.HttpServletResponse;%0Aimport java.io.IOException;%0A%0Apublic class BlackcatHessianServiceExporter extends HessianServiceExporter %7B%0A    /**%0A     * Processes the incoming Hessian request and creates a Hessian response.%0A     */%0A    @Override%0A    public void handleRequest(HttpServletRequest request, HttpServletResponse response)%0A            throws ServletException, IOException %7B%0A%0A        if (!%22POST%22.equals(request.getMethod())) %7B%0A            throw new HttpRequestMethodNotSupportedException(request.getMethod(),%0A                    new String%5B%5D %7B%22POST%22%7D, %22HessianServiceExporter only supports POST requests%22);%0A        %7D%0A%0A        Blackcat.reset(request);%0A%0A        response.setContentType(CONTENT_TYPE_HESSIAN);%0A        try %7B%0A            invoke(request.getInputStream(), response.getOutputStream());%0A        %7D%0A        catch (Throwable ex) %7B%0A            throw new NestedServletException(%22Hessian skeleton invocation failed%22, ex);%0A        %7D%0A    %7D%0A%0A%7D%0A

add BlackcatHessianServiceExporter