Class FilteredMethodValidationPostProcessor
java.lang.Object
org.springframework.aop.framework.ProxyConfig
org.springframework.aop.framework.ProxyProcessorSupport
org.springframework.aop.framework.AbstractAdvisingBeanPostProcessor
org.springframework.aop.framework.autoproxy.AbstractBeanFactoryAwareAdvisingPostProcessor
org.springframework.validation.beanvalidation.MethodValidationPostProcessor
org.springframework.boot.validation.beanvalidation.FilteredMethodValidationPostProcessor
- All Implemented Interfaces:
Serializable
,AopInfrastructureBean
,Aware
,BeanClassLoaderAware
,BeanFactoryAware
,BeanPostProcessor
,InitializingBean
,Ordered
Custom
MethodValidationPostProcessor
that applies
exclusion filters
.- Since:
- 2.4.0
- Author:
- Andy Wilkinson
- See Also:
-
Field Summary
Fields inherited from class org.springframework.aop.framework.AbstractAdvisingBeanPostProcessor
advisor, beforeExistingAdvisors
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Constructor Summary
ConstructorsConstructorDescriptionFilteredMethodValidationPostProcessor
(Collection<? extends MethodValidationExcludeFilter> excludeFilters) Creates a newFilteredMethodValidationPostProcessor
that will apply the givenexcludeFilters
when identifying beans that are eligible for method validation post-processing.FilteredMethodValidationPostProcessor
(Stream<? extends MethodValidationExcludeFilter> excludeFilters) Creates a newFilteredMethodValidationPostProcessor
that will apply the givenexcludeFilters
when identifying beans that are eligible for method validation post-processing. -
Method Summary
Methods inherited from class org.springframework.validation.beanvalidation.MethodValidationPostProcessor
createMethodValidationAdvice, setValidatedAnnotationType, setValidator, setValidatorFactory
Methods inherited from class org.springframework.aop.framework.autoproxy.AbstractBeanFactoryAwareAdvisingPostProcessor
isEligible, prepareProxyFactory, setBeanFactory
Methods inherited from class org.springframework.aop.framework.AbstractAdvisingBeanPostProcessor
customizeProxyFactory, isEligible, postProcessAfterInitialization, postProcessBeforeInitialization, setBeforeExistingAdvisors
Methods inherited from class org.springframework.aop.framework.ProxyProcessorSupport
evaluateProxyInterfaces, getOrder, getProxyClassLoader, isConfigurationCallbackInterface, isInternalLanguageInterface, setBeanClassLoader, setOrder, setProxyClassLoader
Methods inherited from class org.springframework.aop.framework.ProxyConfig
copyFrom, isExposeProxy, isFrozen, isOpaque, isOptimize, isProxyTargetClass, setExposeProxy, setFrozen, setOpaque, setOptimize, setProxyTargetClass, toString
-
Constructor Details
-
FilteredMethodValidationPostProcessor
public FilteredMethodValidationPostProcessor(Stream<? extends MethodValidationExcludeFilter> excludeFilters) Creates a newFilteredMethodValidationPostProcessor
that will apply the givenexcludeFilters
when identifying beans that are eligible for method validation post-processing.- Parameters:
excludeFilters
- filters to apply
-
FilteredMethodValidationPostProcessor
public FilteredMethodValidationPostProcessor(Collection<? extends MethodValidationExcludeFilter> excludeFilters) Creates a newFilteredMethodValidationPostProcessor
that will apply the givenexcludeFilters
when identifying beans that are eligible for method validation post-processing.- Parameters:
excludeFilters
- filters to apply
-
-
Method Details
-
afterPropertiesSet
public void afterPropertiesSet()- Specified by:
afterPropertiesSet
in interfaceInitializingBean
- Overrides:
afterPropertiesSet
in classMethodValidationPostProcessor
-