public class MethodInvocationValidator extends Object implements MethodInterceptor
Nonnull,
ReflectionUtils.isNullable(MethodParameter),
NullableUtils| Constructor and Description |
|---|
MethodInvocationValidator() |
| Modifier and Type | Method and Description |
|---|---|
Object |
invoke(MethodInvocation invocation) |
static boolean |
supports(Class<?> repositoryInterface)
Returns true if the
repositoryInterface is supported by this interceptor. |
public static boolean supports(Class<?> repositoryInterface)
repositoryInterface is supported by this interceptor.repositoryInterface - the interface class.repositoryInterface is supported by this interceptor.@Nullable public Object invoke(MethodInvocation invocation) throws Throwable
invoke in interface MethodInterceptorThrowableCopyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.