public class MethodConstraintMappingContextImpl extends Object implements MethodConstraintMappingContext
Constructor and Description |
---|
MethodConstraintMappingContextImpl(Class<?> beanClass,
Method method,
ConstraintMappingContext mapping) |
Modifier and Type | Method and Description |
---|---|
ParameterConstraintMappingContext |
parameter(int index)
Changes the parameter for which added constraints apply.
|
ReturnValueConstraintMappingContext |
returnValue()
Selects the current method's return value as the target for the next operations.
|
public MethodConstraintMappingContextImpl(Class<?> beanClass, Method method, ConstraintMappingContext mapping)
public ParameterConstraintMappingContext parameter(int index)
ParameterTarget
parameter
in interface ParameterTarget
index
- The parameter index.public ReturnValueConstraintMappingContext returnValue()
ReturnValueTarget
returnValue
in interface ReturnValueTarget
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.