public class RuntimeContext extends DefinitionContext
| 限定符和类型 | 方法和说明 |
|---|---|
Class<? extends ConcreteService> |
getActualClass() |
Method |
getActualMethod() |
<T extends Annotation> |
getAnnotation(Class<T> annotationType)
获取运行期定义的Annotaion
|
static RuntimeContext |
getRuntimeContext(Method method,
Class<?> clz) |
getDeclaringAnnotation, getDeclaringClass, getDeclaringMethod, getMethodName, getModuleNamepublic static final RuntimeContext getRuntimeContext(Method method, Class<?> clz)
public Class<? extends ConcreteService> getActualClass()
public Method getActualMethod()
public <T extends Annotation> T getAnnotation(Class<T> annotationType)
T - annotationType - Copyright © 2017. All rights reserved.