Uses of Interface org.apache.cayenne.di.Module (cayenne-doc: Cayenne Documentation 5.0-M2 API)
Description: use: package: org.apache.cayenne.di, interface: Module

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

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

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

  Classes in org.apache.cayenne.configuration.runtime that implement Module
  Modifier and Type
  Class
  Description
  `class`
  `CoreModule`
  A DI module containing all Cayenne runtime configuration.
  Methods in org.apache.cayenne.configuration.runtime that return Module
  Modifier and Type
  Method
  Description
  `Module`
  CoreModuleProvider.`module()`
  Methods in org.apache.cayenne.configuration.runtime that return types with arguments of type Module
  Modifier and Type
  Method
  Description
  `Class<? extends Module>`
  CoreModuleProvider.`moduleType()`
  `Collection<Class<? extends Module>>`
  CoreModuleProvider.`overrides()`

- ## 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)`

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

  Fields in org.apache.cayenne.runtime with type parameters of type Module
  Modifier and Type
  Field
  Description
  `protected final Collection<Module>`
  CayenneRuntime.`modules`
  Methods in org.apache.cayenne.runtime 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.
  Methods in org.apache.cayenne.runtime with parameters of type Module
  Modifier and Type
  Method
  Description
  `CayenneRuntimeBuilder`
  CayenneRuntimeBuilder.`addModule(Module module)`
  Method parameters in org.apache.cayenne.runtime with type arguments of type Module
  Modifier and Type
  Method
  Description
  `CayenneRuntimeBuilder`
  CayenneRuntimeBuilder.`addModules(Collection<Module> modules)`
  Constructor parameters in org.apache.cayenne.runtime with type arguments of type Module
  Modifier
  Constructor
  Description
  `protected`
  `CayenneRuntime(Collection<Module> modules)`
  Creates a runtime configuring it with a standard set of services contained in `CoreModule`.