# Uses of Interface
org.apache.cayenne.di.Module

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

- ## Uses of Module in org.apache.cayenne.configuration

  Fields in org.apache.cayenne.configuration with type parameters of type Module
  Modifier and Type
  Field
  Description
  `protected Collection<Module>`
  CayenneRuntime.`modules`
  Methods in org.apache.cayenne.configuration that return types with arguments of type Module
  Modifier and Type
  Method
  Description
  `Collection<Module>`
  CayenneRuntime.`getModules()`
  Returns the collection of modules used to initialize this runtime.
  Constructor parameters in org.apache.cayenne.configuration with type arguments of type Module
  Modifier
  Constructor
  Description
  `protected`
  `CayenneRuntime(Collection<Module> modules)`
  Creates a CayenneRuntime with configuration based on the supplied collection of DI modules.

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

  Classes in org.apache.cayenne.configuration.rop.client that implement Module
  Modifier and Type
  Class
  Description
  `class`
  `ClientModule`
  A DI module containing all Cayenne ROP client runtime configurations.
  Methods in org.apache.cayenne.configuration.rop.client that return Module
  Modifier and Type
  Method
  Description
  `Module`
  MainCayenneClientModuleProvider.`module()`
  Methods in org.apache.cayenne.configuration.rop.client that return types with arguments of type Module
  Modifier and Type
  Method
  Description
  `Class<? extends Module>`
  MainCayenneClientModuleProvider.`moduleType()`
  `Collection<Class<? extends Module>>`
  MainCayenneClientModuleProvider.`overrides()`
  Methods in org.apache.cayenne.configuration.rop.client with parameters of type Module
  Modifier and Type
  Method
  Description
  `ClientRuntimeBuilder`
  ClientRuntimeBuilder.`addModule(Module module)`
  Method parameters in org.apache.cayenne.configuration.rop.client with type arguments of type Module
  Modifier and Type
  Method
  Description
  `ClientRuntimeBuilder`
  ClientRuntimeBuilder.`addModules(Collection<Module> modules)`
  Constructor parameters in org.apache.cayenne.configuration.rop.client with type arguments of type Module
  Modifier
  Constructor
  Description
  `protected`
  `ClientRuntime(Collection<Module> modules)`

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

  Classes in org.apache.cayenne.configuration.server that implement Module
  Modifier and Type
  Class
  Description
  `class`
  `ServerModule`
  A DI module containing all Cayenne server runtime configuration.
  Methods in org.apache.cayenne.configuration.server that return Module
  Modifier and Type
  Method
  Description
  `Module`
  MainCayenneServerModuleProvider.`module()`
  Methods in org.apache.cayenne.configuration.server that return types with arguments of type Module
  Modifier and Type
  Method
  Description
  `Class<? extends Module>`
  MainCayenneServerModuleProvider.`moduleType()`
  `Collection<Class<? extends Module>>`
  MainCayenneServerModuleProvider.`overrides()`
  Methods in org.apache.cayenne.configuration.server with parameters of type Module
  Modifier and Type
  Method
  Description
  `ServerRuntimeBuilder`
  ServerRuntimeBuilder.`addModule(Module module)`
  Method parameters in org.apache.cayenne.configuration.server with type arguments of type Module
  Modifier and Type
  Method
  Description
  `ServerRuntimeBuilder`
  ServerRuntimeBuilder.`addModules(Collection<Module> modules)`
  Constructor parameters in org.apache.cayenne.configuration.server with type arguments of type Module
  Modifier
  Constructor
  Description
  `protected`
  `ServerRuntime(Collection<Module> modules)`
  Creates a server runtime configuring it with a standard set of services contained in `ServerModule`.

- ## Uses of Module in org.apache.cayenne.di

  Methods in org.apache.cayenne.di with parameters of type Module
  Modifier and Type
  Method
  Description
  `static Injector`
  DIBootstrap.`createInjector(Module... modules)`
  Creates and returns an injector instance working with the set of provided modules.
  Method parameters in org.apache.cayenne.di with type arguments of type Module
  Modifier and Type
  Method
  Description
  `static Injector`
  DIBootstrap.`createInjector(Collection<Module> modules)`
  Creates and returns an injector instance working with the set of provided modules.

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

  Methods in org.apache.cayenne.di.spi that return Module
  Modifier and Type
  Method
  Description
  `Module`
  ModuleProvider.`module()`
  Methods in org.apache.cayenne.di.spi that return types with arguments of type Module
  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.
  `Class<? extends Module>`
  ModuleProvider.`moduleType()`
  `Collection<Class<? extends Module>>`
  ModuleProvider.`overrides()`
  Returns an array of module types this module overrides.
  Constructors in org.apache.cayenne.di.spi with parameters of type Module
  Modifier
  Constructor
  Description
  ``
  `DefaultInjector(Module... modules)`