@Override public void addServiceMethod( String methodName, String version, ServiceMethodHandler serviceMethodHandler) { serviceMethods.add(methodName); serviceHandlerMap.put( ServiceMethodHandler.methodWithVersion(methodName, version), serviceMethodHandler); }
@Override public boolean isValidMethodVersion(String methodName, String version) { return serviceHandlerMap.containsKey( ServiceMethodHandler.methodWithVersion(methodName, version)); }
@Override public ServiceMethodHandler getServiceMethodHandler(String methodName, String version) { return serviceHandlerMap.get(ServiceMethodHandler.methodWithVersion(methodName, version)); }