org.apache.cayenne.configuration.server

## Class MainCayenneServerModuleProvider

- java.lang.Object
- - org.apache.cayenne.configuration.server.MainCayenneServerModuleProvider

- All Implemented Interfaces:
    CayenneServerModuleProvider, ModuleProvider

      public class MainCayenneServerModuleProvider
      extends Object
      implements CayenneServerModuleProvider

  ServerModule auto-loading facility.
  Since:
    4.0

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `MainCayenneServerModuleProvider()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and 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 java.lang.Object

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

- - ### Constructor Detail

    - #### MainCayenneServerModuleProvider

          public MainCayenneServerModuleProvider()

  - ### Method Detail

    - #### 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.

Copyright © 2001–2021 Apache Cayenne. All rights reserved.