213214215216217218219220221
model = dispatcher.getDispatchContext().getModelService(method); } catch (GenericServiceException e) { Debug.logWarning(e, module); } if (model == null) { throw new XmlRpcNoSuchHandlerException("No such service [" + method + "]"); } return this; }
211212213214215216217218219
214215216217218219220221222
5657585960616263646566
public XmlRpcHandler getHandler(String handlerName) throws XmlRpcNoSuchHandlerException, XmlRpcException { XmlRpcHandler handler = nameToHandler.get(handlerName); if (handler != null) { return handler; } throw new XmlRpcNoSuchHandlerException("No handler for method " + handlerName); } }); webServer.start(); }