public class FileClassLoadingService extends Object implements ClassLoadingService
| Constructor and Description |
|---|
FileClassLoadingService() |
| Modifier and Type | Method and Description |
|---|---|
ClassLoader |
getClassLoader()
Returns a ClassLoader based on the current configured CLASSPATH settings.
|
List<File> |
getPathFiles()
Returns an unmodifiable list of configured CLASSPATH locations.
|
<T> Class<T> |
loadClass(Class<T> interfaceType,
String className)
Returns class for a given name, loading it if needed from configured
locations.
|
void |
setPathFiles(Collection<File> files) |
public <T> Class<T> loadClass(Class<T> interfaceType, String className) throws ClassNotFoundException
loadClass in interface ClassLoadingServiceClassNotFoundExceptionpublic ClassLoader getClassLoader()
getClassLoader in interface ClassLoadingServicepublic List<File> getPathFiles()
public void setPathFiles(Collection<File> files)
Copyright © 2001–2015 Apache Cayenne. All rights reserved.