org.apache.tapestry.services
Interface ClassFinder
- All Known Implementing Classes:
- ClassFinderImpl
public interface ClassFinder
Used to search for a class within a list of packages. Available as service tapestry.ClassFinder.
- Since:
- 4.0
- Author:
- Howard Lewis Ship
Method Summary |
java.lang.Class |
findClass(java.lang.String packageList,
java.lang.String className)
Searches for a class within a list of packages, which always includes the default package. |
findClass
java.lang.Class findClass(java.lang.String packageList,
java.lang.String className)
- Searches for a class within a list of packages, which always includes the default package.
- Parameters:
packageList
- a comma seperated list of package names (i.e., "java.lang,java.util")className
- the name of the class to search for. This may be just a class name, or even a
partial class name (i.e., "impl.Foo").
- Returns:
- the class, if found, or null if no class could be found in any of the packages