Package org.apache.cayenne.di.spi
Class DefaultClassLoaderManager
java.lang.Object
org.apache.cayenne.di.spi.DefaultClassLoaderManager
- All Implemented Interfaces:
ClassLoaderManager
A
ClassLoaderManager
that- Since:
- 4.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetClassLoader
(String resourceName) Returns a ClassLoader appropriate for loading a given resource.
-
Constructor Details
-
DefaultClassLoaderManager
public DefaultClassLoaderManager()
-
-
Method Details
-
getClassLoader
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 interfaceClassLoaderManager
-