public DelegatingClassLoader getConnectorClassLoader(String application) { // For distributions where connector module (connector CL) is not available, use empty classloader with parent if(connectorCLS != null){ return connectorCLS.getConnectorClassLoader(application); }else{ return AccessController.doPrivileged(new PrivilegedAction<DelegatingClassLoader>() { public DelegatingClassLoader run() { return new DelegatingClassLoader(commonCLS.getCommonClassLoader()); } }); } }