Class ModuleJarAdmission
java.lang.Object
com.ultikits.ultitools.manager.ModuleJarAdmission
This start's module metadata and minimum-API decisions, shared by class-path collection and
main-class discovery. Read after updates are applied and discarded with the framework;
a refused module never supplies classes merely because its JAR sorts before an accepted copy.
Diagnostics remain in discovery, after the language has been initialized.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classMinimum decision and the early-hook outcome; archive identity survives either refusal. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionentries()Reads each module's declaration and decides minimum admission once for this start.voidmarkBootstrapFailed(Path jar, Throwable failure) Records a failed early hook before discovery can load the module main class.
-
Field Details
-
entries
-
-
Constructor Details
-
ModuleJarAdmission
public ModuleJarAdmission()
-
-
Method Details
-
inspect
Reads each module's declaration and decides minimum admission once for this start.- Parameters:
jar- the module JAR, already checked by the archive guard- Returns:
- the cached metadata and decision
-
markBootstrapFailed
-
entries
- Returns:
- a filename-ordered snapshot of metadata already inspected at this start
-