@Override
public ModuleContext getLocalContext(ClassLoader loader)
{
synchronized (_localModuleContext) {
ModuleContext context = _localModuleContext.getLevel(loader);
if (context == null) {
ClassLoader envLoader = Environment.getEnvironmentClassLoader(loader);
ModuleContext parent = null;
if (envLoader != null) {
parent = getLocalContext(envLoader.getParent());
}