DefaultClassLoaderManager (cayenne-doc: Cayenne Documentation 5.0-M2 API)
Description: declaration: package: org.apache.cayenne.di.spi, class: DefaultClassLoaderManager

# 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
  Description
  `DefaultClassLoaderManager()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `ClassLoader`
  `getClassLoader(String resourceName)`
  Returns a ClassLoader appropriate for loading a given resource.

  ### Methods inherited from class Object

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

- ## Constructor Details

  - ### DefaultClassLoaderManager

    public DefaultClassLoaderManager()

- ## Method Details

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