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

Packages that use ModuleProvider
Package
Description
org.apache.cayenne.configuration.rop.client
org.apache.cayenne.configuration.server
org.apache.cayenne.di.spi

- ## Uses of ModuleProvider in org.apache.cayenne.configuration.rop.client

  Subinterfaces of ModuleProvider in org.apache.cayenne.configuration.rop.client
  Modifier and Type
  Interface
  Description
  `interface`
  `CayenneClientModuleProvider`
  This interface implementations will be used by `ClientRuntimeBuilder` to auto-load client modules.
  Classes in org.apache.cayenne.configuration.rop.client that implement ModuleProvider
  Modifier and Type
  Class
  Description
  `class`
  `MainCayenneClientModuleProvider`

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

  Subinterfaces of ModuleProvider in org.apache.cayenne.configuration.server
  Modifier and Type
  Interface
  Description
  `interface`
  `CayenneServerModuleProvider`
  This interface implementations will be used by `ServerRuntimeBuilder` to auto-load server modules.
  Classes in org.apache.cayenne.configuration.server that implement ModuleProvider
  Modifier and Type
  Class
  Description
  `class`
  `MainCayenneServerModuleProvider`
  ServerModule 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.