DiscoverResources disc = new DiscoverResources();
disc.addClassLoader( JDKHooks.getJDKHooks().getThreadContextClassLoader() );
disc.addClassLoader( this.getClass().getClassLoader() );
ResourceNameIterator iterator = disc.findResources(name);
Vector vector = new Vector();
while (iterator.hasNext()) {
String resourceInfo = iterator.nextResourceName();
vector.add(resourceInfo);
if( debug > 0 ) {
System.out.println("Found " + resourceInfo);
}
}