@Retention(value=RUNTIME) @Target(value={TYPE,ANNOTATION_TYPE}) public @interface SimpleRobotApplication
Modifier and Type | Optional Element and Description |
---|---|
Class<? extends Application> |
application
启动器所处的class位置。如果指定了Application接口的类型本身,则说明直接使用当前标注了这个注解的类来生成代理。
|
String |
resources
配置文件所在的resources资源路径下的读取路径,默认为"simple-robot-conf.properties".
|
public abstract Class<? extends Application> application
启动器所处的class位置。如果指定了Application接口的类型本身,则说明直接使用当前标注了这个注解的类来生成代理。
public abstract String resources
配置文件所在的resources资源路径下的读取路径,默认为"simple-robot-conf.properties".如果值为空字符的话在不会读取文件。
Copyright © 2020. All rights reserved.