testULRClassloading(ear);
}
public void testULRClassloading(VirtualFile ear) throws Exception
{
URL[] cp = getEarClassPath(ear);
UnifiedLoaderRepository3 repository = new UnifiedLoaderRepository3();
for(URL url : cp)
repository.newClassLoader(url, true);
log.debug("ear classpath: "+Arrays.asList(cp));
repository.loadClass("org.jboss.seam.example.booking.Hotel");
repository.loadClass("org.jboss.seam.debug.Contexts");
}