Package org.mule.api.annotation.jpms
Annotation Type ServiceModule
-
@Documented @Retention(RUNTIME) @Target(MODULE) public @interface ServiceModule
Marks a JPMS Module as the entry point of a Mule Service.- Since:
- 1.6
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description RequiredOpens[]requiredOpensAdd reflective visibility to the annotated service module.
-
-
-
Element Detail
-
requiredOpens
RequiredOpens[] requiredOpens
Add reflective visibility to the annotated service module. The module reading this annotation must have the wanted permissions itself, in order to properly propagate them to the annotated service module.- Returns:
- module and packages to open to the annotated service module.
- Default:
- {}
-
-