// Define classloader if it was not yet defined (ear case -->
// classloader already set)
if (this.classLoader == null) {
PrivilegedAction<EasyBeansClassLoader> privilegedAction = new PrivilegedAction<EasyBeansClassLoader>() {
public EasyBeansClassLoader run() {
return new EasyBeansClassLoader(new URL[] {url}, old);
}
};
this.classLoader = AccessController.doPrivileged(privilegedAction);
}
// FIXME keep resolve ? keep classloader ?