Package org.apache.wicket.application
Class DefaultClassResolver
- java.lang.Object
-
- org.apache.wicket.application.AbstractClassResolver
-
- org.apache.wicket.application.DefaultClassResolver
-
- All Implemented Interfaces:
IClassResolver
public final class DefaultClassResolver extends AbstractClassResolver
Resolves a class by using the classloader that loaded this class.- Author:
- Juergen Donnerstag, Jonathan Locke
- See Also:
ApplicationSettings.getClassResolver()
-
-
Constructor Summary
Constructors Constructor Description DefaultClassResolver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClassLoader
getClassLoader()
Returns theClassLoader
to be used for resolving classes-
Methods inherited from class org.apache.wicket.application.AbstractClassResolver
getResources, resolveClass
-
-
-
-
Constructor Detail
-
DefaultClassResolver
public DefaultClassResolver()
-
-
Method Detail
-
getClassLoader
public ClassLoader getClassLoader()
Returns theClassLoader
to be used for resolving classes- Returns:
- the current
Thread
s contextClassLoader
if it is set, or theClassLoader
that was used to load this class.
-
-