Package guru.mikelue.jdut.annotation
Annotation Type JdutResource
-
@Target({ANNOTATION_TYPE,CONSTRUCTOR,FIELD,LOCAL_VARIABLE,METHOD,PACKAGE,PARAMETER,TYPE,TYPE_PARAMETER,TYPE_USE}) @Retention(RUNTIME) @Documented @Inherited public @interface JdutResource
Only defines the annotation of resources, the detail of usage is defined by controller/container which loads the instance of this annotation.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description String[]
resources
The resources of Strings.Class<? extends JdutResourceConfig>[]
resourcesConfig
The resources defined by type ofJdutResourceConfig
which is just a tagging interface.
-
-
-
Element Detail
-
resources
String[] resources
The resources of Strings.- Returns:
- The array of resources as text
- Default:
- {}
-
-
-
resourcesConfig
Class<? extends JdutResourceConfig>[] resourcesConfig
The resources defined by type ofJdutResourceConfig
which is just a tagging interface.- Returns:
- The array of resources as classes
- Default:
- {}
-
-