|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.wicket.application.AbstractClassResolver
public abstract class AbstractClassResolver
An abstract implementation of a IClassResolver
which uses a ClassLoader
for
resolving classes.
IApplicationSettings.getClassResolver()
Constructor Summary | |
---|---|
AbstractClassResolver()
|
Method Summary | |
---|---|
abstract ClassLoader |
getClassLoader()
Returns the ClassLoader to be used for resolving classes |
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*). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractClassResolver()
Method Detail |
---|
public final Class<?> resolveClass(String className) throws ClassNotFoundException
IClassResolver
resolveClass
in interface IClassResolver
className
- Fully qualified classname to find
ClassNotFoundException
public abstract ClassLoader getClassLoader()
ClassLoader
to be used for resolving classes
ClassLoader
to be used for resolving classespublic Iterator<URL> getResources(String name)
IClassResolver
getResources
in interface IClassResolver
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |