lanicc opened a new issue, #11828:
URL: https://github.com/apache/dubbo/issues/11828

   
https://github.com/apache/dubbo/blob/eeab34eb6780a332ead4d48c9b9932e07effd3e0/dubbo-filter/dubbo-filter-validation/src/main/java/org/apache/dubbo/validation/support/jvalidation/JValidator.java?_pjax=%23js-repo-pjax-container#L91
   ```
       public JValidator(URL url) {
           this.clazz = ReflectUtils.forName(url.getServiceInterface());
           String jvalidation = url.getParameter("jvalidation");
           ValidatorFactory factory;
           if (jvalidation != null && jvalidation.length() > 0) {
               factory = Validation.byProvider((Class) 
ReflectUtils.forName(jvalidation)).configure().buildValidatorFactory();
           } else {
               factory = Validation.buildDefaultValidatorFactory();
           }
           this.validator = factory.getValidator();
           this.methodClassMap = new ConcurrentHashMap<>();
       }
   ```
   看这个参数是从url中取的


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to