org.apache.wicket.application
Class DefaultClassResolver

java.lang.Object
  extended by org.apache.wicket.application.AbstractClassResolver
      extended by 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:
IApplicationSettings.getClassResolver()

Constructor Summary
DefaultClassResolver()
           
 
Method Summary
protected  java.lang.ClassLoader getClassLoader()
          Returns the ClassLoader to be used for resolving classes
 
Methods inherited from class org.apache.wicket.application.AbstractClassResolver
getResources, resolveClass
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultClassResolver

public DefaultClassResolver()
Method Detail

getClassLoader

protected java.lang.ClassLoader getClassLoader()
Returns the ClassLoader to be used for resolving classes

Specified by:
getClassLoader in class AbstractClassResolver
Returns:
the current Threads context ClassLoader if it is set, or the ClassLoader that was used to load this class.


Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.