// compile a list of class finders to run
List<ClassFinder> classFinders = new ArrayList<ClassFinder>();
classFinders.add(new WebClassesFinder(servletContext, classloader, packageFilter, byteCodeFilter));
if (scanLibDir)
{
classFinders.add(new WebLibFinder(servletContext, classloader, packageFilter, byteCodeFilter));
}
// start the scanning process
for (ClassFinder finder : classFinders)
{