CoreModuleProvider (cayenne-doc: Cayenne Documentation 5.0-M2 API)
Description: declaration: package: org.apache.cayenne.configuration.runtime, class: CoreModuleProvider

# Class CoreModuleProvider

java.lang.Object
org.apache.cayenne.configuration.runtime.CoreModuleProvider

All Implemented Interfaces:
  `ModuleProvider, CayenneRuntimeModuleProvider`

public class CoreModuleProvider extends Object implements CayenneRuntimeModuleProvider
CoreModule auto-loading facility.

Since:
  4.0 introduced, 5.0 renamed from MainCayenneServerModuleProvider

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `CoreModuleProvider()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Module`
  `module()`
  `Class<? extends Module>`
  `moduleType()`
  `Collection<Class<? extends Module>>`
  `overrides()`
  Returns an array of module types this module overrides.

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### CoreModuleProvider

    public CoreModuleProvider()

- ## Method Details

  - ### module

    public Module module()
    Specified by:
      `module` in interface `ModuleProvider`

  - ### moduleType

    public Class<? extends Module> moduleType()
    Specified by:
      `moduleType` in interface `ModuleProvider`

  - ### overrides

    public Collection<Class<? extends Module>> overrides()
    Description copied from interface: `ModuleProvider`
    Returns an array of module types this module overrides. Module auto-loading mechanism will ensure module load order that respects overriding preferences.
    Specified by:
      `overrides` in interface `ModuleProvider`
    Returns:
      a collection of module types this module overrides.