public class MethodInterceptorHolder extends Object
| Modifier and Type | Field and Description |
|---|---|
static org.springframework.core.ParameterNameDiscoverer |
nameDiscoverer
参数名称获取器,用于获取方法参数的名称
|
| Constructor and Description |
|---|
MethodInterceptorHolder() |
| Modifier and Type | Method and Description |
|---|---|
static MethodInterceptorHolder |
create(org.aopalliance.intercept.MethodInvocation invocation) |
MethodInterceptorContext |
createParamContext() |
MethodInterceptorContext |
createParamContext(Object invokeResult) |
<T extends Annotation> |
findAnnotation(Class<T> annClass) |
<T extends Annotation> |
findClassAnnotation(Class<T> annClass) |
<T extends Annotation> |
findMethodAnnotation(Class<T> annClass) |
public static final org.springframework.core.ParameterNameDiscoverer nameDiscoverer
public static MethodInterceptorHolder create(org.aopalliance.intercept.MethodInvocation invocation)
public <T extends Annotation> T findMethodAnnotation(Class<T> annClass)
public <T extends Annotation> T findClassAnnotation(Class<T> annClass)
public <T extends Annotation> T findAnnotation(Class<T> annClass)
public MethodInterceptorContext createParamContext()
public MethodInterceptorContext createParamContext(Object invokeResult)
Copyright © 2016–2021. All rights reserved.