# Uses of Interface
org.apache.cayenne.di.spi.ModuleProvider

Packages that use ModuleProvider
Package
Description
org.apache.cayenne.configuration.runtime
org.apache.cayenne.di.spi
org.apache.cayenne.runtime
API related to `CayenneRuntime` creation.

- ## Uses of ModuleProvider in org.apache.cayenne.configuration.runtime

  Classes in org.apache.cayenne.configuration.runtime that implement ModuleProvider
  Modifier and Type
  Class
  Description
  `class`
  `CoreModuleProvider`
  CoreModule auto-loading facility.

- ## Uses of ModuleProvider in org.apache.cayenne.di.spi

  Method parameters in org.apache.cayenne.di.spi with type arguments of type ModuleProvider
  Modifier and Type
  Method
  Description
  `List<Module>`
  ModuleLoader.`load(Class<? extends ModuleProvider> providerClass)`
  Auto-loads all modules declared on classpath.
  `List<Module>`
  ModuleLoader.`load(Class<? extends ModuleProvider> providerClass, ClassLoader classLoader)`
  Auto-loads all modules declared on classpath.

- ## Uses of ModuleProvider in org.apache.cayenne.runtime

  Subinterfaces of ModuleProvider in org.apache.cayenne.runtime
  Modifier and Type
  Interface
  Description
  `interface`
  `CayenneRuntimeModuleProvider`
  This interface implementations will be used by `CayenneRuntimeBuilder` to auto-load runtime modules.