NilKit API currently contains an entrypoint routing layer for premain and hijack phases.
Entrypoints are resolved in this order:
- JVM property
- Properties file
ServiceLoadermodules
Historical JVM property format:
-Dnilkit.entrypoint.<phase>=...
The default properties resource is:
src/main/resources/nilkit.entrypoints.properties
Do not point a configured phase back at the SDK's own dispatcher entrypoint classes or you may create recursive dispatch.
The project is being renamed from NilKit to NilKit API. Entrypoint class names, package names, resource names, and JVM property prefixes should be migrated deliberately rather than renamed partially.