Package org.apache.cayenne.resource
Class ClassLoaderResourceLocator
java.lang.Object
org.apache.cayenne.resource.ClassLoaderResourceLocator
- All Implemented Interfaces:
ResourceLocator
A
ResourceLocator
that looks up resources is the application
classpath based on the current thread ClassLoader.- Since:
- 3.1
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfindResources
(String name) Finds a collection of matching resources for a given name.
-
Constructor Details
-
ClassLoaderResourceLocator
-
-
Method Details
-
findResources
Description copied from interface:ResourceLocator
Finds a collection of matching resources for a given name. The name components must be separated by forward slashes.- Specified by:
findResources
in interfaceResourceLocator
-