org.apache.wicket.application
Interface IClassResolver

All Known Implementing Classes:
DefaultClassResolver

public interface IClassResolver

An interface to code which finds classes and resources

Author:
Jonathan Locke, Juergen Donnerstag

Method Summary
 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*).
 

Method Detail

resolveClass

Class<?> resolveClass(String classname)
                      throws ClassNotFoundException
Resolves a class by name (which may or may not involve loading it; thus the name class *resolver* not *loader*).

Parameters:
classname - Fully qualified classname to find
Returns:
Class
Throws:
ClassNotFoundException

getResources

Iterator<URL> getResources(String name)
Tries to load all the resources by the name that is given.

Parameters:
name -
Returns:
iterator over matching resources


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