Package 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
  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 java.lang.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`