code: @Deprecated
      public static ValidatorFactory getValidatorFactory()
      {
          final boolean isTraceOn = TraceComponent.isAnyTracingEnabled();
          if (isTraceOn && tc.isEntryEnabled())
              Tr.entry(tc, "getValidatorFactory");
  
          ValidatorFactory validatorFactory = AbstractBeanValidation.getValidatorFactory();
  
          if (isTraceOn && tc.isEntryEnabled())
              Tr.exit(tc, "getValidatorFactory: " + Util.identity(validatorFactory));
  
          return validatorFactory;
      }
docs: This method will return null if no BeanValidationService is available in the process
  
  @deprecated Use {@link BeanValidation#getValidatorFactory} instead