Class EntityModuleConfiguration

java.lang.Object
com.foreach.across.modules.entity.config.EntityModuleConfiguration

@Configuration public class EntityModuleConfiguration extends Object
  • Constructor Details

    • EntityModuleConfiguration

      public EntityModuleConfiguration()
  • Method Details

    • registerConverters

      @Autowired public void registerConverters(org.springframework.format.support.FormattingConversionService mvcConversionService, EntityRegistry entityRegistry)
    • entityValidator

      @Bean(name="entityValidator") @Exposed @ConditionalOnMissingBean(name="entityValidator") public org.springframework.validation.SmartValidator entityValidator(org.springframework.validation.SmartValidator defaultValidator)
      Expose the default validator as the validator to be used for entity validation. Use of EntityValidator in external modules is discouraged.