GraphModuleStateHolder graphModuleStateHolder);
protected List<ApplicationContext> getDependentApplicationContexts(
ModuleDefinition definition,
GraphModuleStateHolder graphModuleStateHolder) {
DependencyManager dependencyManager = graphModuleStateHolder.getDependencyManager();
//get the dependencies in correct order
final List<ModuleDefinition> dependencies = dependencyManager.getOrderedModuleDependencies(definition.getName());
//remove the current definition from this list
dependencies.remove(definition);
final List<ApplicationContext> applicationContexts = new ArrayList<ApplicationContext>();