public interface MethodTarget
Modifier and Type | Method and Description |
---|---|
MethodConstraintMappingContext |
method(String name,
Class<?>... parameterTypes)
Selects a method to which the next operations shall apply.
|
MethodConstraintMappingContext method(String name, Class<?>... parameterTypes)
Until this method is called constraints apply on class level. After calling this method constraints apply to the specified method.
name
- The method name.parameterTypes
- The method parameter types.Copyright © 2007-2014 Red Hat Middleware, LLC. All Rights Reserved