Annotation to override the module order for the
ServiceFinder.
By default, the ModuleSorter organizes resources within named modules according to their
module ordinal. By default, the ordinal is taken from the module descriptor and multiplied by 100
for sorting. Higher numbers come first. Sometimes, however, an application module must override
this default order to make sure that the correct implementation for a service is used. In such
cases, the module can be annotated with @ModuleOrdinal. Example:
@ModuleOrdinal(1350)
module org.tentackle.bundlemonkey.common {
...
}
- Author:
- harald
-
Required Element Summary
Required Elements
-
Element Details
-
value
int valueGets the fixed ordinal.- Returns:
- the ordinal
-