org.apache.bval.jsr303.extensions
Class MethodValidatorMetaBeanFactory
java.lang.Object
org.apache.bval.jsr303.Jsr303MetaBeanFactory
org.apache.bval.jsr303.extensions.MethodValidatorMetaBeanFactory
- All Implemented Interfaces:
- MetaBeanFactory
public class MethodValidatorMetaBeanFactory
- extends Jsr303MetaBeanFactory
Description: extension to validate parameters/return values of
methods/constructors.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MethodValidatorMetaBeanFactory
public MethodValidatorMetaBeanFactory(ApacheFactoryContext factoryContext)
- Create a new MethodValidatorMetaBeanFactory instance.
- Parameters:
factoryContext
-
hasValidationConstraintsDefined
protected boolean hasValidationConstraintsDefined(Method method)
- Learn whether a given Method has validation constraints defined via JSR303 annotations.
- Overrides:
hasValidationConstraintsDefined
in class Jsr303MetaBeanFactory
- Returns:
true
if constraints detected
buildMethodDescriptor
public void buildMethodDescriptor(MethodBeanDescriptorImpl descriptor)
- Finish building the specified
MethodBeanDescriptorImpl
.
- Parameters:
descriptor
-
Copyright © 2010-2012 Apache Software Foundation. All Rights Reserved.