org.apache.cayenne.di.spi

## Class DefaultClassLoaderManager

- java.lang.Object
- - org.apache.cayenne.di.spi.DefaultClassLoaderManager

- All Implemented Interfaces:
    ClassLoaderManager

      public class DefaultClassLoaderManager
      extends Object
      implements ClassLoaderManager

  A `ClassLoaderManager` that
  Since:
    4.0

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `DefaultClassLoaderManager()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `ClassLoader` | `getClassLoader(String resourceName)` Returns a ClassLoader appropriate for loading a given resource.

    - ### Methods inherited from class java.lang.Object

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

- - ### Constructor Detail

    - #### DefaultClassLoaderManager

          public DefaultClassLoaderManager()

  - ### Method Detail

    - #### getClassLoader

          public ClassLoader getClassLoader(String resourceName)

      Description copied from interface: `ClassLoaderManager`
      Returns a ClassLoader appropriate for loading a given resource. Resource path should be compatible with Class.getResource(..) and such, i.e. the path component separator should be slash, not dot.
      Specified by:
        `getClassLoader` in interface `ClassLoaderManager`

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