Package io.micronaut.aot.serviceindex
package io.micronaut.aot.serviceindex
-
ClassDescriptionGenerates micronaut-core's service index for a packaged application: a
StaticOptimizations.Loaderthat registers aServiceIndexof the application's class path, so that service loading at run time does not scanMETA-INF/servicesandMETA-INF/micronaut.The class path an index is generated for: plain paths, no build tool type.Builds aServiceIndexGenerator.Request.The outcome of one generation: itsServiceIndexGenerator.Result.status(), oneServiceIndexGenerator.Result.message()for the caller to log, theServiceIndexGenerator.Result.entries()to write into the holder and theServiceIndexGenerator.Result.removals()to delete from it, which the caller applies whatever the status.What a generation did.