return resultingContexts;
}
}
// not an alias, must be a location at this point
AbstractApplicationContext context = new SmartClassPathXmlApplicationContext(contextSpecList);
synchronized (contextLaunchOrder) {
// this allows a context to close itself during its startup (schematool does this)
if (context.isActive())
contextLaunchOrder.add(context);
context.addApplicationListener(this);
}
resultingContexts.add(context);
contextAliasMap.put(contextSpecList, resultingContexts);
return resultingContexts;
}