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 |
Class |
findClass(String packageList,
String className)
Searches for a class within a list of packages, which always includes the default package. |
findClass
Class findClass(String packageList,
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
Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.