public abstract class AbstractClassResolver extends Object implements IClassResolver
IClassResolver
which uses a ClassLoader
for
resolving classes.ApplicationSettings.getClassResolver()
Constructor and Description |
---|
AbstractClassResolver() |
Modifier and Type | Method and Description |
---|---|
Iterator<URL> |
getResources(String name)
Tries to load all the resources by the name that is given.
|
Class<?> |
resolveClass(String className)
Resolves a class by name (which may or may not involve loading it; thus the name class
*resolver* not *loader*).
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getClassLoader
public final Class<?> resolveClass(String className) throws ClassNotFoundException
IClassResolver
resolveClass
in interface IClassResolver
className
- Fully qualified classname to findClassNotFoundException
public Iterator<URL> getResources(String name)
IClassResolver
getResources
in interface IClassResolver
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.