Interface ModuleProvider


public interface ModuleProvider
Provider of modules used by module autoloading mechanism to identify and load modules. Multiple providers can be created by inheriting from this interface and using it with ModuleLoader
Since:
4.0
  • Method Details

    • module

      Module module()
    • moduleType

      Class<? extends Module> moduleType()
    • overrides

      default Collection<Class<? extends Module>> overrides()
      Returns a collection of module types this module overrides. Module autoloading mechanism will ensure module load order that respects overriding preferences. The default implementation returns an empty collection.
      Returns:
      a collection of module types this module overrides.