类 DefinitionContextImpl
java.lang.Object
org.coodex.concrete.common.DefinitionContextImpl
- 所有已实现的接口:
DefinitionContext
Created by davidoff shen on 2016-09-01.
-
方法概要
修饰符和类型方法说明<T extends Annotation>
TgetAnnotation(Class<T> annotationClass) 优先级: annotationClass不可覆盖时: - method - method.declaringClass - moduleClassprotected <T extends Annotation>
TgetAnnotationFrom(Class<T> annotationClass, AnnotatedElement... accessibleObjects) final <T extends Annotation>
TgetDeclaringAnnotation(Class<T> annotationClass) Class<?>
-
方法详细资料
-
getDeclaringClass
- 指定者:
getDeclaringClass在接口中DefinitionContext- 返回:
- BizModule定义的class
-
getDeclaringMethod
- 指定者:
getDeclaringMethod在接口中DefinitionContext- 返回:
- 定义了BizUnit的method
-
getModuleName
- 指定者:
getModuleName在接口中DefinitionContext
-
getDeclaringAnnotation
- 指定者:
getDeclaringAnnotation在接口中DefinitionContext- 类型参数:
T-- 参数:
annotationClass- annotationClass- 返回:
- annotation
-
getAnnotation
优先级: annotationClass不可覆盖时: - method - method.declaringClass - moduleClassannotationClass可覆盖时: - method - moduleClass - method.declaringClass
- 指定者:
getAnnotation在接口中DefinitionContext- 类型参数:
T-- 参数:
annotationClass- annotationClass- 返回:
- annotation
-
getAnnotationFrom
protected <T extends Annotation> T getAnnotationFrom(Class<T> annotationClass, AnnotatedElement... accessibleObjects)
-