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 Summary
Modifier and TypeMethodDescriptionmodule()default Collection<Class<? extends Module>> Returns a collection of module types this module overrides.
-
Method Details
-
module
Module module() -
moduleType
-
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.
-