method = bvalClazzToValidate.getMethod(method.getName(), method.getParameterTypes());
}
Set<?> violations = Collections.emptySet();
if (APACHE_BVAL_METHOD_CLASS != null && validator != null) {
validatorObject = validator.unwrap(APACHE_BVAL_METHOD_CLASS);
violations = call(Set.class, validatorObject, "validateParameters",
new Object[]{
bvalClazzToValidate, method, ejbContext.getParameters(), new Class[0]
},
BVAL_ARG_TYPES);