Interface ModuleProvider

All Known Subinterfaces:
CayenneClientModuleProvider, CayenneServerModuleProvider
All Known Implementing Classes:
MainCayenneClientModuleProvider, MainCayenneServerModuleProvider

public interface ModuleProvider

Provider of modules used by module auto-loading mechanism to identify and load modules.

Multiple providers can be created by inheriting from this interface and using it with ModuleLoader

  • Method Details

    • module

      Module module()
    • moduleType

      Class<? extends Module> moduleType()
    • overrides

      Collection<Class<? extends Module>> overrides()
      Returns an array of module types this module overrides. Module auto-loading mechanism will ensure module load order that respects overriding preferences.
      a collection of module types this module overrides.