Class CustomValidatorBean

    • Constructor Detail

      • CustomValidatorBean

        public CustomValidatorBean()
    • Method Detail

      • setMessageInterpolator

        public void setMessageInterpolator(MessageInterpolator messageInterpolator)
        Specify a custom MessageInterpolator to use for this Validator.
      • setTraversableResolver

        public void setTraversableResolver(TraversableResolver traversableResolver)
        Specify a custom TraversableResolver to use for this Validator.
      • afterPropertiesSet

        public void afterPropertiesSet()
        Description copied from interface: InitializingBean
        Invoked by the containing BeanFactory after it has set all bean properties and satisfied BeanFactoryAware, ApplicationContextAware etc.

        This method allows the bean instance to perform validation of its overall configuration and final initialization when all bean properties have been set.

        Specified by:
        afterPropertiesSet in interface InitializingBean