Continuation of changes to make use of log4j.

This commit is contained in:
Juan Carlos Luciani
2007-02-20 19:35:14 +00:00
parent 37c2d94ec9
commit a5d4983177
2 changed files with 2 additions and 6 deletions

View File

@@ -130,7 +130,8 @@ public final class Authenticate implements RpcMethod
URL[] urls = new URL[]{methClassPathUrl};
// Create a class loader for the folder
ClassLoader customClassLoader = new URLClassLoader(urls);
ClassLoader customClassLoader = new URLClassLoader(urls,
this.getClass().getClassLoader());
// Load the mech class using our custom loader
Class<?> mechClass = customClassLoader.loadClass(mechClassName);