public static void registerGenericService(String serviceName, String className) {
        if (StringUtils.isNotBlank(serviceName) && StringUtils.isNotBlank(className)) {
            genericServiceMap.put(serviceName, className);
        }
    }
@param serialize true is serialize, false is deserialize.
core/api/src/main/java/com/alipay/sofa/rpc/codec/AbstractSerializer.java