testModel(archive, ediMessageFile, factoryClassName, dump, callerClass);
}
public static void testModel(Archive archive, String ediMessageFile, String factoryClassName, boolean dump, Class callerClass) throws IOException {
ArchiveClassLoader classLoader = new ArchiveClassLoader(archive);
Thread.currentThread().setContextClassLoader(classLoader);
try {
testModel(ediMessageFile, factoryClassName, dump);
} finally {
Thread.currentThread().setContextClassLoader(classLoader.getParent());
}
}