org.drools.ide.common.server.rules
Class ClassWalker

java.lang.Object
  extended by org.drools.ide.common.server.rules.ClassWalker

public class ClassWalker
extends Object

This is a utility to walk a tree of classes (recursively) and return a set of classes that match a package name. This is not currently used, as I can't work out a way to make it work including the dynamically added stuff into the MapBackedClassloader (ie classes added in memory only). It requires some more surgery to cope with this. Was worth a try though ! (can be wired into the loadClass method of the SuggestionCompletionLoader).


Constructor Summary
ClassWalker()
           
 
Method Summary
static Set<Class> findClassesInPackage(String packageName, ClassLoader loader)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassWalker

public ClassWalker()
Method Detail

findClassesInPackage

public static Set<Class> findClassesInPackage(String packageName,
                                              ClassLoader loader)


Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.