类 ValidatorConfiguration


  • @Configuration
    public class ValidatorConfiguration
    extends Object
    • 构造器详细资料

      • ValidatorConfiguration

        public ValidatorConfiguration()
    • 方法详细资料

      • jsonSchemaRecordValidator

        @Bean
        public cn.dustlight.datacenter.schema.adapter.JsonSchemaRecordValidator jsonSchemaRecordValidator​(@Autowired
                                                                                                          cn.dustlight.datacenter.core.services.FormService formService,
                                                                                                          @Autowired
                                                                                                          com.networknt.schema.JsonSchemaFactory factory,
                                                                                                          @Autowired
                                                                                                          com.networknt.schema.JsonSchema formSchema,
                                                                                                          @Autowired
                                                                                                          org.springframework.context.ApplicationContext context)
      • jsonSchemaFormValidator

        @Bean
        public cn.dustlight.datacenter.schema.adapter.JsonSchemaFormValidator jsonSchemaFormValidator​(@Autowired
                                                                                                      com.networknt.schema.JsonSchema formSchema)