Annotation Type ImportModule
-
@Target(TYPE) @Retention(RUNTIME) @Documented @UseWith(MODULE) public @interface ImportModule
Attached to a module class, this annotation identifies other module classes that should also be added to the Registry. A class is processed once, even if it is mentioned multiple times. Using this annotation is often easier than updating the JAR Manifest to list additional module class names.- Since:
- 5.4
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.Class[]
value
One or more classes that are also modules and should also be loaded.
-
-
-
Element Detail
-
value
java.lang.Class[] value
One or more classes that are also modules and should also be loaded.
-
-