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