类 AbstractUnit<PARAM extends AbstractParam>
java.lang.Object
org.coodex.concrete.common.modules.AbstractUnit<PARAM>
- 所有已实现的接口:
Comparable<AbstractUnit<PARAM>>,Annotated,Documentable
- 直接已知子类:
AUnit,OwnServiceUnit
public abstract class AbstractUnit<PARAM extends AbstractParam>
extends Object
implements Annotated, Comparable<AbstractUnit<PARAM>>, Documentable
Created by davidoff shen on 2016-11-30.
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected voidprotected abstract PARAMbuildParam(Method method, int index) <T extends Annotation>
TgetAnnotation(Class<T> annotationClass) <T extends Annotation>
TgetDeclaredAnnotation(Class<T> annotationClass) abstract StringgetLabel()abstract StringgetName()final PARAM[]Class<?>String[]getRoles()booleanprotected abstract PARAM[]protected abstract DefinitionContext从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 java.lang.Comparable
compareTo
-
构造器详细资料
-
AbstractUnit
-
-
方法详细资料
-
afterInit
protected void afterInit() -
getDeclaringModule
-
getMethod
-
getName
- 返回:
- 服务名称
-
buildParam
-
getLabel
- 指定者:
getLabel在接口中Documentable- 返回:
- 文档化的名称
-
getDescription
- 指定者:
getDescription在接口中Documentable- 返回:
- 服务说明
-
getFunctionName
- 返回:
- 调用方法名
-
getInvokeType
- 返回:
- 调用方式
-
getReturnType
- 返回:
- 返回值类型
-
getGenericReturnType
- 返回:
- 返回值泛型类型
-
getAccessAllow
- 返回:
- access control list
-
getRoles
-
getSignable
- 返回:
- 获取签名信息
-
getDeclaredAnnotation
- 指定者:
getDeclaredAnnotation在接口中Annotated- 类型参数:
T-- 参数:
annotationClass- annotationClass- 返回:
- 获取某个注解
-
getAnnotation
-
getAnnotations
- 指定者:
getAnnotations在接口中Annotated- 返回:
- 获取全部注解
-
getParameters
- 返回:
- 方法参数
-
toArrays
-
getContext
-
toContext
-
isDeprecated
public boolean isDeprecated()
-