}
final Set<PluginDescriptor> plugins = descriptor.getPlugins();
if (!plugins.isEmpty())
{
// re-assign parent ref if any plugins deployed, will be used by the MuleAppCL
parent = new MulePluginsClassLoader(parent, plugins);
}
return new MuleApplicationClassLoader(descriptor.getAppName(), parent, descriptor.getLoaderOverride(), nativeLibraryFinderFactory.create(descriptor.getAppName()));
}