Obtains the class loader. The Connector class loader is a
singleton instance. The directory where rar is exploded is
added to the classloader path before returing the instance.
try {
ClassLoader jcl = null;
jcl = ConnectorClassLoader.getInstance();
File f = new File(moduleDir);
((ConnectorClassLoader)jcl).appendURL(f);
return jcl;
} catch (IOException ex) {
_logger.log(Level.SEVERE,
"rardeployment.malfarmed_url_for_classloader",moduleDir);
}
return null;