java.lang.Object
org.apache.wicket.application.AbstractClassResolver
- All Implemented Interfaces:
IClassResolver
- Direct Known Subclasses:
DefaultClassResolver
An abstract implementation of a
IClassResolver
which uses a ClassLoader
for
resolving classes.- Author:
- Juergen Donnerstag, Jonathan Locke
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetResources
(String name) Tries to load all the resources by the name that is given.final Class<?>
resolveClass
(String className) Resolves a class by name (which may or may not involve loading it; thus the name class *resolver* not *loader*).Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.wicket.application.IClassResolver
getClassLoader
-
Constructor Details
-
AbstractClassResolver
public AbstractClassResolver()
-
-
Method Details
-
resolveClass
Description copied from interface:IClassResolver
Resolves a class by name (which may or may not involve loading it; thus the name class *resolver* not *loader*).- Specified by:
resolveClass
in interfaceIClassResolver
- Parameters:
className
- Fully qualified classname to find- Returns:
- Class
- Throws:
ClassNotFoundException
-
getResources
Description copied from interface:IClassResolver
Tries to load all the resources by the name that is given.- Specified by:
getResources
in interfaceIClassResolver
- Returns:
- iterator over matching resources
-