public class MethodValidatorMetaBeanFactory extends Jsr303MetaBeanFactory
annotationProcessor, factoryContext, log
Constructor and Description |
---|
MethodValidatorMetaBeanFactory(ApacheFactoryContext factoryContext)
Create a new MethodValidatorMetaBeanFactory instance.
|
Modifier and Type | Method and Description |
---|---|
void |
buildMethodDescriptor(org.apache.bval.jsr303.extensions.MethodBeanDescriptorImpl descriptor)
Finish building the specified
MethodBeanDescriptorImpl . |
protected boolean |
hasValidationConstraintsDefined(Method method)
Learn whether a given Method has validation constraints defined via JSR303 annotations.
|
addMetaProperty, buildMetaBean
public MethodValidatorMetaBeanFactory(ApacheFactoryContext factoryContext)
factoryContext
- protected boolean hasValidationConstraintsDefined(Method method)
hasValidationConstraintsDefined
in class Jsr303MetaBeanFactory
true
if constraints detectedpublic void buildMethodDescriptor(org.apache.bval.jsr303.extensions.MethodBeanDescriptorImpl descriptor)
MethodBeanDescriptorImpl
.descriptor
- Copyright © 2010-2013 The Apache Software Foundation. All Rights Reserved.