|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.cayenne.resource.ClassLoaderResourceLocator
public class ClassLoaderResourceLocator
A ResourceLocator
that looks up resources is the application classpath based on
the current thread ClassLoader.
Constructor Summary | |
---|---|
ClassLoaderResourceLocator()
|
Method Summary | |
---|---|
java.util.Collection<Resource> |
findResources(java.lang.String name)
Finds a collection of matching resources for a given name. |
protected java.lang.ClassLoader |
getClassLoader()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClassLoaderResourceLocator()
Method Detail |
---|
public java.util.Collection<Resource> findResources(java.lang.String name)
ResourceLocator
findResources
in interface ResourceLocator
protected java.lang.ClassLoader getClassLoader()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |