org.apache.tapestry.services.impl
Class ClassFinderImpl
java.lang.Object
org.apache.tapestry.services.impl.ClassFinderImpl
- All Implemented Interfaces:
- ClassFinder
public class ClassFinderImpl
- extends Object
- implements ClassFinder
Implemenation of 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. |
void |
setClassResolver(org.apache.hivemind.ClassResolver classResolver)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClassFinderImpl
public ClassFinderImpl()
findClass
public Class findClass(String packageList,
String className)
- Description copied from interface:
ClassFinder
- Searches for a class within a list of packages, which always includes the default package.
- Specified by:
findClass
in interface ClassFinder
- 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
setClassResolver
public void setClassResolver(org.apache.hivemind.ClassResolver classResolver)
Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.