return epc;
}
private JSONRPCEntryPointServlet getServlet() {
String jsonrpcServletMapping = webAppName + "/SCA/jsonrpc";
JSONRPCEntryPointServlet servlet;
synchronized (tomcatHost) {
servlet = (JSONRPCEntryPointServlet) tomcatHost.getMapping(jsonrpcServletMapping);
if (servlet == null) {
servlet = new JSONRPCEntryPointServlet();
tomcatHost.registerMapping(jsonrpcServletMapping, servlet);
tomcatHost.registerMapping(webAppName + "/SCA/scripts/*", new ScriptGetterServlet());
}
}
return servlet;