Class MicronautRuntimeModules

java.lang.Object
io.micronaut.module.info.runtime.MicronautRuntimeModules

@Singleton @NonNull public final class MicronautRuntimeModules extends Object
Provides information about the Micronaut modules which are found at runtime. The modules are organized in a hierarchy (for example, `micronaut-data-jdbc` would be a child of `micronaut-data`).
  • Constructor Details

  • Method Details

    • getRoot

      public MicronautRuntimeModule getRoot()
      The root of the Micronaut modules hierarchy. That node doesn't correspond to any real Micronaut module, it's a virtual node which gives access to the children modules.
      Returns:
      the root node.